Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Jeff on March 03, 2015, 04:48:03 PM
-
Hello hello. Just upgraded to Unity 5. Seems like there's a problem with labels. Each individual character on a label is rotated or flipped. I've included a screenshot to demonstrate.
Those characters used to spell words!
;D
Any ideas?
Thanks!
-
What version of NGUI are you using? You need to be on the latest.
-
I'm up to date: 3.8.0
Labels will also disappear in the static preview window, and only come back when play is hit. I've tried changing a label during run-time and each character is flipped as I type. Here's another shot, the text should (and did in 4.6.3) read "Choose a World!"
-
Sounds like Unity 5 reverted one of their changes then. I will have a look at it when I return from PAX.
-
thanks!
-
Hi,
We have exactly the same problem with the latest NGUI version.
We are very close to production ! :o
-
i'm totally stuck due to this issue. :(
1. is there a WA I can use until a fix will be available hopefully soon?
2. is there a way to use Unity UI Font with NGUI or as a child of NGUI objects?
please note that i'm using RTL fonts which are not supported by NGUI Bitmap fonts (at least based on test that I have did).
-
I had a look at this... everything works fine on my end. Made a new scene, added a label, chose a dynamic font... everything prints fine in NGUI 3.8.0 / Unity 5.0.0f4. Need more details, such as which font you're using.
-
It happens with all fonts, but I'm using BradyBunch.
It seems it has something to do with the project; When I create a new scene within the project and make a new label, the characters are rotated. When I create an entirely new project and try the same thing, the dynamic font works fine. I thought it might have had something to do with Unity upgrading the project from 4 to 5, but converting a simple scene with one label from 4 to 5 works fine and the label reads as it should.
-
BOOM!!! I've fixed it! To anyone else having this issue, here are the steps I took to resolve it...
I hope you have a pre-Unity 5 upgrade back up!
1. Open project in Unity 4.6
2a. Delete NGUI folder as well as NGUI folder in "Plugins" if you made one
2b. Create a prefab of the NGUI instance in your scene (this step may be unnecessary)
3. Save Scene and Project
4. Open project in Unity 5 and let upgrade commence
5. Re-download/import NGUI from asset store and move correct folders to "Plugins" if needed
6. Close Unity and re-open project
at this point when I re-opened the project I got errors telling me that scripts and an API I'm using were outdated and needed to be upgraded. I had to close, reopen, and upgrade API twice before NGUI showed in the toolbar
7. Drag NGUI prefab back into hierarchy. This step seems unnecessary as subsequent scenes without the prefab rendered text correctly. It was a precaution I took because the upgrade process takes a bit of time and I didn't want to have to redo the whole thing.
8. Pour a glass of scotch because two years of hard work isn't completely borked.
step 8 is option but highly advised
The issue of text disappearing in the scene view remains, but compared to the original problem, it's negligible.
Hope this helps anyone with similar problems!
-
AHAHAHAHAH!!! I've just made it even easier to solve! (sorry just really happy!)
In your upgraded Unity 5 project, just delete the NGUI folder as well as the NGUI folder in "Plugins". Re-download and import, move the correct directories to "Plugins" and everything is right as rain.