Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Jeff on December 04, 2016, 01:49:22 PM

Title: Latest update broke panels
Post by: Jeff on December 04, 2016, 01:49:22 PM
Or root, not sure which. Just opened my project after updating and I'm getting strange behavior. Everything is fine before hitting the play button, but at runtime the panel stretches out and takes my anchored elements with it. Please help!

Attaching screenshots.

Thanks,

Jeff
Title: Re: Latest update broke panels
Post by: ArenMook on December 04, 2016, 10:18:44 PM
Check NGUITools.screenSize. There is a section there that's only for the OSX editor attempting to work around a Unity 5.4+ bug (retina issues). Try playing around with things there. Also try adding [System.NonSerialized] in front of static Vector2 mGameSize = Vector2.one; on line 1907 of the same file (NGUITools.cs).
Title: Re: Latest update broke panels
Post by: Jeff on December 05, 2016, 11:37:39 AM
try adding [System.NonSerialized] in front of static Vector2 mGameSize = Vector2.one; on line 1907 of the same file (NGUITools.cs).

That fixed it. Thank you!