Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: smallbit on September 08, 2014, 05:02:52 AM

Title: NGUI Graphic Glitch
Post by: smallbit on September 08, 2014, 05:02:52 AM
Hello,
In my recent project I have encounterd a weird graphical glitch (see picture below). I have 1 panel (including proper NGUI panel) on the top of the screen that I move into screen via tween position. Here is the problem, once tween finishes, the panel disappears. I mean the sprites, button is still there and I can click it. Than on some random occasions panel will appear completely deformed in some part of the screen, sometimes it goes stretched diagonally to the center of the screen (not sure if this is the same panel though). Meanwhile rest of the panels works just fine. My scene have 2 normal cameras at the moment, I am switching between them from time to time. NGUI camera is always enabled. Any ideas what can be the problem?
Title: Re: NGUI Graphic Glitch
Post by: BeShifty on September 08, 2014, 12:25:35 PM
Check if you have Multithreaded Rendering enabled in your Android player settings, NGUI is incompatible with that option at the moment.
Title: Re: NGUI Graphic Glitch
Post by: smallbit on September 08, 2014, 09:14:47 PM
@BeShifty Thanks man !!! that actually do the trick, what happends than If I do need multithread rendering for other parts of my game ? is there anyworkaround for that (I was thinking on not puting more than 1 panel, but I have a few scrollviews so it's going to be hard) or I'll need to move to another non NGUI solution ?
Title: Re: NGUI Graphic Glitch
Post by: ArenMook on September 08, 2014, 10:52:04 PM
I've said it about a hundred times now and if you search for "multi-threaded" in this forum you'll get dozens of posts that say the same thing -- Multi-threaded rendering feature never left beta stage in Unity. It was bugged from the start, and it was never fixed. Don't use it.

It's also mentioned in the FAQ sticky post. http://www.tasharen.com/forum/index.php?topic=6.msg43929#msg43929

That said, there are some reports that Unity may have finally fixed it in 4.5.4, but I haven't tested it myself.
Title: Re: NGUI Graphic Glitch
Post by: smallbit on September 08, 2014, 10:56:08 PM
Relax ArenMook,

The Multithreading is stable already in 4.5.3 to which I've just updated. The issue is gone there whilst having multithreading enabled.
Thanks !
Title: Re: NGUI Graphic Glitch
Post by: ArenMook on September 08, 2014, 10:58:18 PM
Good to know, thanks!