Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: jackpowell on December 23, 2013, 12:12:48 AM

Title: NGUI3 lost text on mobile?
Post by: jackpowell on December 23, 2013, 12:12:48 AM
Hi

Env: U3D4.2  ,NGUI3.0.6 , XiaoMi mobile
Setting: DynamicFont YaHei , Font size:28, OverFlow:ClampContent ,Effect :outline,Depth : 23

1. running, it's ok!
2. left or right to change role
3. Label And Button lost text

PS: on PC ok , on XiaoMi Mobile lost text.

Please Help,Thanks!!!
Title: Re: NGUI3 lost text on mobile?
Post by: ArenMook on December 23, 2013, 01:42:43 PM
First, upgrade to the latest version.

Next, make your elements semi-transparent to see if the labels are there, just behind. Does the text re-appear at any point?
Title: Re: NGUI3 lost text on mobile?
Post by: jackpowell on December 23, 2013, 09:30:31 PM
Thank ArenMook!

The problem has been solved.
The reason is that the dynamic font problems

Use: NGUIText.RequestCharactersInTexture(font, text.text[3,500 Chinese Text File]) fixed.