Author Topic: NGUI3 lost text on mobile?  (Read 1646 times)

jackpowell

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
NGUI3 lost text on mobile?
« 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!!!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI3 lost text on mobile?
« Reply #1 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?

jackpowell

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: NGUI3 lost text on mobile?
« Reply #2 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.