Author Topic: UILabel lose text  (Read 5900 times)

vladnau89

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 1
    • View Profile
UILabel lose text
« on: April 18, 2015, 02:10:30 PM »
Hello!
When I minimize my app all UILabels lose all text or some parts of text. I try to call MarkAsChanged () in OnApplicationPause() , but it is not solve my problem. I use NGUI 3.7.0

Image links:

http://take.ms/SPeSC

http://take.ms/ew8CQ

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: UILabel lose text
« Reply #1 on: April 18, 2015, 05:16:32 PM »
When the application unpauses, try calling Invalidate on the labels. Likely, unity has unloaded the textures for your fonts (I'm assuming dynamic) and will recreate the characters that are needed when you invalidate.