Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: triggly_glix on September 20, 2013, 05:48:15 AM

Title: Flickering, disappearing screen & sprites in editor
Post by: triggly_glix on September 20, 2013, 05:48:15 AM
As the subject says sprites are disappearing in the editor when I click play - or at various moments in the interaction. If I pause the editor and then resume playing they come back...
attaching a link to a video to show the problem clearly - (this is happening a lot and is quite affecting my workflow)
any help very much appreciated...

https://dl.dropboxusercontent.com/u/11634924/Unity_NGui_Flickering.mp4
Title: Re: Flickering, disappearing screen & sprites in editor
Post by: ArenMook on September 20, 2013, 04:44:48 PM
Use NGUI 2.7.0 with "depth sorting" turned on on your panels.
Title: Re: Flickering, disappearing screen & sprites in editor
Post by: triggly_glix on October 10, 2013, 04:08:27 AM
Hi Aren,
thanks for responding on this - so I've now updated to NGUI 2.7.0 and I've turned on depth sorting but I'm still seeing similar problems. I could post another video but basically it's the same - things don't appear and then i pause and unpause the app and they are there. For example a popup doesn't reach it's full scale - i pause and unpause and ah, there it is. Or i transition from one menu to another the screen stays black - when i pause and unpause the editor i see that in fact the screen is there...
any more clues please ?
thanks
Title: Re: Flickering, disappearing screen & sprites in editor
Post by: ArenMook on October 10, 2013, 05:12:40 AM
I just had a second look at your video and it's not what I thought. I don't even know what's going on there. It's like as if Unity is only drawing to a part of the screen. Are you doing something funky there with stencils or the depth buffer? Are you clearing the depth buffer correctly?