Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Baburo on March 05, 2014, 02:45:11 AM

Title: Sprites/Textures/Text lose transparency occasionally
Post by: Baburo on March 05, 2014, 02:45:11 AM
Hi.

We are using NGUI for our UI needs and we've recently encountered an issue which you can see in the attached images.
First image is what the app looks like regularly and the second one is when the issue appears.

So all sprites, textures and text elements lose their transparency for a short time every once in a while.

I'm guessing this has something to do with texture memory running low?

We are only using one atlas which is 2048x1024, but we are downloading textures on runtime from our server, which does take a big amount of memory.

When this issue occurs, it usually stays only for a few seconds and then goes away.

If anyone have any tips that we could try to fix this issue, I would be VERY pleased. :)

Cheers.
Title: Re: Sprites/Textures/Text lose transparency occasionally
Post by: ArenMook on March 05, 2014, 07:09:49 AM
The problem fixes itself? That sounds very odd and I can't say I have any suggestions regarding something like that.

Be sure to unload the textures you no longer need via Resources.UnloadUnusedAssets