Author Topic: Fixed(26 erorrs on latest Asset store version)but now buttons don't work-fixed.  (Read 3308 times)

drewradley

  • Guest
So I stupidly hit update instead of download and am regretting it as the latest version is broken, horribly. I get 26 errors for things like "Cannot Convert, "Does not contain definition" and "the best overload". It seems to be limited to UIFont script but NONE of the scripts are loading in the example scenes. Get an error telling me that the script can not be loaded and to fix any compile errors. I tried dragging an older version from a different project into my new project. Everything looks fine, but nothing works.

I am using Unity pro 4.1.2f1 with Android basic.
« Last Edit: May 10, 2013, 09:33:13 AM by drewradley »

LightSky

  • Jr. Member
  • **
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 56
    • View Profile
Re: WTF? 26 erorrs on latest Asset store version!!!!!!!!!!!!!!!
« Reply #1 on: May 09, 2013, 01:13:25 PM »
Did you make sure you created a new (empty) scene and then updated? 
You shouldn't be getting any compile issues unless you are using classes that are named the same that NGUI uses.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: WTF? 26 erorrs on latest Asset store version!!!!!!!!!!!!!!!
« Reply #2 on: May 09, 2013, 01:24:50 PM »
Calm down.

No one else is having these issues, which means something went wrong on your end when upgrading it. If you had any compile errors while upgrading, then nothing compiles and stuff like this can happen.

You may also have a mix of old and new files for whatever reason, which would explain the "best overload" and "does not contain definition" errors, since the codebase has changed.

You may be using classes that are named exactly the same as something in NGUi, which would also cause these problems.

drewradley

  • Guest
Re: WTF? 26 erorrs on latest Asset store version!!!!!!!!!!!!!!!
« Reply #3 on: May 09, 2013, 01:36:26 PM »
sorry. Never had problems with NGUI before. Over reacted. Guess I have some incompatible scripts. I'll dig through them all and see if I can't find it.

edit: turns out it doesn't like a script called CharacterInfo which is part of another package I am using. Never had problem using it with this package before however. (The Okashi RPG kit)

drewradley

  • Guest
Re: WTF? 26 erorrs on latest Asset store version!!!!!!!!!!!!!!!
« Reply #4 on: May 09, 2013, 03:18:37 PM »
Okay, I did a little refactoring and it fixed that. Now, however, the buttons don't work. No errors, just no functionality. What could be causing that? Probably unrelated to the first issue.
edit: It's worse than that. There is no functionality to any of the NGUI elements - no dragging, no checkboxes, nothing. Got to be missing something...
« Last Edit: May 09, 2013, 03:36:48 PM by drewradley »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Physics properties, Raycast Hit Triggers must be checked.

And make sure your cameras have UICamera, and the event mask is set properly.

drewradley

  • Guest
That was it. Thanks! I knew it had to be something simple.