Author Topic: UILabel has odd behavior on Android.  (Read 3149 times)

Mervill

  • Guest
UILabel has odd behavior on Android.
« on: October 30, 2012, 02:25:01 PM »
Hello Everyone!

I'm in the process of porting my company's game from IOS to Andorid, everything is going well so far except for this odd behavior on UILabels:



The bottom one is the strangest, the blue color is actually the scene background that's behind the purple background (A UISprite). It's as if the white text is acting like a Photoshop mask...  ???

The problem seems to be isolated as I have similar setups throughout my GUI, but only this and a few other labels are experiencing this bug.

Here is the Inspector View for the Label.

Thanks in advance for the help! If I find a solution I'll post it.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UILabel has odd behavior on Android.
« Reply #1 on: October 30, 2012, 04:58:42 PM »
Very strange. The problem only happens on those devices? I suggest looking at the shader (Unlit/Transparent Colored) -- play with it a bit. Replace it with a Transparent shader, see what effect that has, etc.

adam718

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 60
    • View Profile
Re: UILabel has odd behavior on Android.
« Reply #2 on: October 31, 2012, 04:59:38 AM »
It seems quality of font texture changed or compressed low in android device.