Support => NGUI 3 Support => Topic started by: vexe on November 28, 2013, 12:33:29 AM
Title: Atlases eternal doom. UIAtlas is not found, AtlasMaker is broken.
Post by: vexe on November 28, 2013, 12:33:29 AM
So after I upgraded to 3.0.6 - I "accidentally" opened an old atlas (created in 2.6.4) - Now I'm stuck with a broken atlas maker (See attachment), since now NGUI "remembers" stuff - Closing/Reopening Unity won't fix it - NOR does removing and re-importing NGUI!!
I'm now stuck with a broken atlas maker - I can't do anything.
What can be done about this? - Where does NGUI "remember" stuff? Is there a clear cache button or some cache some where that I could erase?
@Aren please this problem has been around for a while now and I know I'm not the first one to come across it.
(For the future: Please consider removing the atlas thing all together, or at least, make it transparent user-wise)
Thanks.
EDIT: Just read you patched it - well, it's still there it seems.
EDIT: Check out the attachment, for the latest full screen version of the bug :D - I can't minimize, nor do anything but stare at it. (Happens automatically when opening the AtlasMaker)
Title: Re: Atlases eternal doom. UIAtlas is not found, AtlasMaker is broken.
Post by: ArenMook on November 28, 2013, 01:03:36 AM
That's pretty epic and I wonder what happened there. Which line is it breaking out on? Sounds like you should add some null check in there. I've never seen it break like that.
Title: Re: Atlases eternal doom. UIAtlas is not found, AtlasMaker is broken.
Post by: vexe on November 28, 2013, 01:14:23 AM
Very epic indeed - It's now full screen (see updated attachment) - I can't minimize/close it to see the error - I can't seem to use NGUI anymore :D - Since this keeps happening no matter what I do (remove/reimport NGUI, restart Unity etc)
Please tell me there's a way to make NGUI FORGETS - like it REMEMBERS.
Where is this memorizing data kept?
Title: Re: Atlases eternal doom. UIAtlas is not found, AtlasMaker is broken.
Post by: ArenMook on November 28, 2013, 01:18:59 AM
You can right-click the tab and choose to Close it.
Title: Re: Atlases eternal doom. UIAtlas is not found, AtlasMaker is broken.
Post by: ArenMook on November 28, 2013, 01:19:36 AM
To clear what NGUI remembers, use:
UnityEditor.EditorPrefs.DeleteAll();
Title: Re: Atlases eternal doom. UIAtlas is not found, AtlasMaker is broken.
Post by: vexe on November 28, 2013, 01:21:10 AM
Alright I uploaded a shot of the error - check it out!
Title: Re: Atlases eternal doom. UIAtlas is not found, AtlasMaker is broken.
Post by: ArenMook on November 28, 2013, 01:44:59 AM
Unfortunately our line numbers don't match. I'm guessing you're not on f5?
Title: Re: Atlases eternal doom. UIAtlas is not found, AtlasMaker is broken.
Post by: vexe on November 28, 2013, 01:46:45 AM
Guess not.
line 402 says: Texture tex = material.mainTexture; line 250: if (mSprites.Count == 0) Upgrade();
Title: Re: Atlases eternal doom. UIAtlas is not found, AtlasMaker is broken.
Post by: ArenMook on November 28, 2013, 01:48:29 AM
I'll add a !material check in there to make sure this doesn't happen in the future. Thanks!