Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: drewradley on May 09, 2013, 01:10:11 PM
-
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.
-
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.
-
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.
-
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)
-
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...
-
Physics properties, Raycast Hit Triggers must be checked.
And make sure your cameras have UICamera, and the event mask is set properly.
-
That was it. Thanks! I knew it had to be something simple.