Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: N3uRo on April 15, 2012, 04:57:29 AM
-
Hi Aren,
When I hit play and then stop, I get this error:
"Scene is being destroyed while there are hidden renderers that are using it. This is likely an editor script creating objects with hideFlags and leaving them enabled."
I'm pretty sure that it's a NGUI editor script because in my project I haven't any other plugin and I haven't coded any editor script on my own.
I can't give you more information because Unity doesn't give where it originates the error only this:
"Filename: C:/BuildAgent/work/b0bcff80449a48aa/Runtime/Camera/UnityScene.cpp Line: 66"
-
I've heard of this one before, though I've never seen it personally. It's something to do with how NGUI is used. Have a look at what objects you mark as DontDestroyOnLoad, or change hide flags on. Is the UI hierarchy a child of such object? Is there such object *in* the UI hierarchy? etc...
-
I have only one scene so I don't mark any object with DontDestroyOnLoad.
-
I just had this happen to me as well, whenever scenes would change. It disappeared when I restarted the editor, however. Don't know what was causing it.
-
I am also getting this after the update.
-
I think it's caused by not doing File -> New Scene prior to deleting NGUI and importing it from the updated package.
-
I do that all the time, and I haven't seen this error. Actually, when i think about it, I just import on top of the old one and restart unity, no problems yet. :)
I think it's caused by not doing File -> New Scene prior to deleting NGUI and importing it from the updated package.
-
I also imported it how you advised in the other thread, however after switching between two projects the error has ceased.
-
got this error too after importing the latest update. Restarting unity fixed it for me.