1
NGUI 3 Support / Re: UIAtlasMaker exception
« on: March 04, 2014, 05:17:55 PM »
So I just got this issue today. It seems to have sorted itself out, so I can only supply what I 'think' I did, and what I think might potentially be the issue.
Here's the original story:
My textures were of Texture Type: GUI
My resulting atlas was of 2k x 4k (considered 'large' when it gets to around 4k)
It would halt on the updating bar while also throwing the error about Texture2D.
Here were 2 things I did that seemed to fix it (not suggesting it's the solution, just saying that after I did these, it worked. Might be a clue):
I changed my textures to be of type Advanced and made sure Non power of 2 was set to None.
I added one less texture so that my resulting atlas was only of size 2k x 2k
I'm not using Uni2D or anything like that. I'm on the latest version of Unity and NGUI - or at the very least, on a very recent version.
Hope this helps. Cheers.
EDIT:
Completely disregard what I said. Apparently this still happens.
However I can confirm that clicking the Add/Update All button again after it was halting on the Updating progress bar did in fact complete the Atlas.
Here's the original story:
My textures were of Texture Type: GUI
My resulting atlas was of 2k x 4k (considered 'large' when it gets to around 4k)
It would halt on the updating bar while also throwing the error about Texture2D.
Here were 2 things I did that seemed to fix it (not suggesting it's the solution, just saying that after I did these, it worked. Might be a clue):
I changed my textures to be of type Advanced and made sure Non power of 2 was set to None.
I added one less texture so that my resulting atlas was only of size 2k x 2k
I'm not using Uni2D or anything like that. I'm on the latest version of Unity and NGUI - or at the very least, on a very recent version.
Hope this helps. Cheers.
EDIT:
Completely disregard what I said. Apparently this still happens.
However I can confirm that clicking the Add/Update All button again after it was halting on the Updating progress bar did in fact complete the Atlas.

I personally really like the addition of nested panels being affected by the alpha of its parent. Much needed addition!