Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: wolodo on November 01, 2016, 10:58:32 AM

Title: UI breaks after script compile
Post by: wolodo on November 01, 2016, 10:58:32 AM
Hello,
I am using NGUI in unity 5.3.6 and I have a problem, while compiling scripts: the whole UI gets messy (see the screenshots). It goes back to normal, after I hit the play button. Is this a known issue?
Title: Re: UI breaks after script compile
Post by: ArenMook on November 03, 2016, 08:11:16 AM
Check your cameras. I can see something questionable happening if you have multiple cameras drawing the same UI layer, so when NGUI tries to find an appropriate camera, you end up with different results.
Title: Re: UI breaks after script compile
Post by: wolodo on November 03, 2016, 08:13:49 AM
Thank you for the answer. It stopped doing it itself after restart. Weird...