Author Topic: Dynamic Text Flickering Issue  (Read 8920 times)

kromenak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Dynamic Text Flickering Issue
« on: January 10, 2014, 10:32:56 PM »
Since we started using dynamic fonts, we've had an issue where text labels will occasionally flicker, shear, and artifact momentarily when new text is displayed on the screen.  This was using Unity 4.2 and NGUI 2.3.  While searching for a fix for the issue, I happened upon this thread: http://www.tasharen.com/forum/index.php?topic=4412.75.  In no uncertain terms, the suggestion was: upgrade to NGUI 3.0, and the problem will go away.

However, I've recently updated to Unity 4.3.2 and NGUI 3.0.8 f7.  Much to my dismay, while running our game on both iOS and Android, the issue is still occurring.  Is anyone else still having this issue?  Are there any settings, tips or leads I can follow up on to fix this issue?  Maybe there is a correct way to set up dynamic fonts that we're missing?  Our game is looking great, but this issue rears it's ugly head a couple times per game session.  Any action I can take to resolve the issue would be much appreciated.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Dynamic Text Flickering Issue
« Reply #1 on: January 11, 2014, 06:24:35 PM »
This particular issue cropping up again in some form or another is on the list of things I plan to look into after returning from my vacation. Until then, and in general (as it's better for performance), I suggest you pre-request all the fonts you plan on using.

I posted an example script of how to do this here: http://www.tasharen.com/forum/index.php?topic=7399.msg34945#msg34945

kromenak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Re: Dynamic Text Flickering Issue
« Reply #2 on: January 13, 2014, 01:55:54 PM »
Thanks for the link; I'll try requesting the characters up-front and see how it goes!