Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Alex on April 16, 2012, 07:52:02 AM

Title: Upgrading 2.0.1B exception
Post by: Alex on April 16, 2012, 07:52:02 AM
Hi,
I upgrade NGUI to 2.0.1 and i get this exception:
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.

Help please.
Title: Re: Upgrading 2.0.1B exception
Post by: yuewah on April 16, 2012, 08:00:37 AM
It also happen on NGUI 2.0.0 + Unity 3.5.1
Title: Re: Upgrading 2.0.1B exception
Post by: joreldraw on April 16, 2012, 08:26:31 AM
In my project im on NGUI 1.91 and work fine with Unity 3.5.1f2
Title: Re: Upgrading 2.0.1B exception
Post by: ArenMook on April 16, 2012, 09:40:43 AM
I need more details on where it's happening. Can you reproduce it on any of the examples?
Title: Re: Upgrading 2.0.1B exception
Post by: Alex on April 16, 2012, 09:53:50 AM
Hi,
The only thing i did is this:
1.delete NGUI 2.0.0b
2.download new NGUI ( 2.0.1b )
3.and then the problem appear in all of my scenes.

When i quit unity and then restart it again, the problem are gone.
hope it helps.
Title: Re: Upgrading 2.0.1B exception
Post by: ArenMook on April 16, 2012, 09:55:08 AM
Sounds like you didnt do Start -> New Scene prior to deleting NGUI and importing the update?
Title: Re: Upgrading 2.0.1B exception
Post by: Alex on April 16, 2012, 10:07:09 AM
You right, i didn't know i should make a new scene before deleting NGUI and updating it.
I'll try to memorize it next time :)
Title: Re: Upgrading 2.0.1B exception
Post by: rain on April 17, 2012, 10:01:27 AM
Hi!
I'm experiencing the same problem, i updated the NGUI while having my main project open.
Now this error message keeps coming up when i stop the editor play mode.
How can I get rid of it?  :D
Title: Re: Upgrading 2.0.1B exception
Post by: ArenMook on April 17, 2012, 06:10:24 PM
Follow the proper update instructions to get rid of it.