Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: AnKOu on May 18, 2015, 08:48:39 AM
-
Hello,
I have an issue with NGUI...
It is easily understandable in the 3 images in attachment. The first one is a view from the editor which is good. The second image is a view from the play mode, it is good too. The third image is what I get when I stop playing and go back to the editor. Everything is messed up. This is pretty annoying to work with.
Until now, the two ways I found to clean everything are :
- to disable the root panel in the hierarchy, to launch the play mode, to enable the root panel, to stop playing and to enable the root panel again.
OR
- When I modify a script and I go back in the editor, after the update is done, everything appears as he should.
I am using Unity 4.6.1
Have you any idea how to solve this ?
Thanks in advance.
-
Better question is what version of NGUI are you using?
Also all that pink points that you have a shader problem there. Pink means Unity failed to compile a shader...
As for things looking messed up, check your anchoring. Without details regarding what else you are doing, there isn't much I can suggest.
-
Hello, thank you for your answer.
I am using NGUI 3.7.3
All the pink is the background color. It is useful to easily find hole in 3d models I work with.
I add two images of the inspector showing how my UI Root and a messed up UIPanel are defined. There is a screenshot of my hierarchy too. The GameObject named "Pages" hasn't any component and is used to group all the panels.
Does it help you?
Thank you.
-
1. You have more than one panel on the same depth. You need to use unique depths.
2. You need to update your NGUI. Your version of NGUI is like half a year older than your version of Unity.