Author Topic: Sprites/Textures/Text lose transparency occasionally  (Read 3077 times)

Baburo

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Sprites/Textures/Text lose transparency occasionally
« 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.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Sprites/Textures/Text lose transparency occasionally
« Reply #1 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