Author Topic: NGUI change all my labels tex to Hexadecimal  (Read 3184 times)

kukiri

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
NGUI change all my labels tex to Hexadecimal
« on: July 19, 2016, 03:19:25 AM »
Hi!

We are getting some strange bug with NGUI. Recently, all the labels text changed to Hexadecimal :o. But not only the labels, the name of the methods in the button's callback have changed too.

It has happened two times and the we don't find a solution.

Any of you guys has seen this bug?

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI change all my labels tex to Hexadecimal
« Reply #1 on: July 20, 2016, 03:17:38 AM »
That's something on your end.

kukiri

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: NGUI change all my labels tex to Hexadecimal
« Reply #2 on: July 20, 2016, 03:56:09 AM »
Hey, Thanks for the response.

It has happened with two different games in two different computers with the same version of NGUI 3.9.8. I just wanted to know if anyone has encountered this problem too.

It is a super strange bug that only happens in the NGUI scripts, so we asked for advice here because maybe any of you guys know something.

Thanks :D

Shifty Geezer

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 9
  • Posts: 226
    • View Profile
Re: NGUI change all my labels tex to Hexadecimal
« Reply #3 on: July 20, 2016, 04:04:42 AM »
I had something that sounds similar with a project. Importing NGUI had a Binary to YAML error, and all the scene references in ExampleMenu were numbers instead of strings. Every import of NGUI into that project caused this error. I recreated the project from source control, considering it some sort of Unity project corruption.

Fireball14

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 23
    • View Profile
Re: NGUI change all my labels tex to Hexadecimal
« Reply #4 on: March 15, 2017, 07:58:55 AM »
Version 3.10.2
Same thing.
I had something that sounds similar with a project. Importing NGUI had a Binary to YAML error, and all the scene references in ExampleMenu were numbers instead of strings. Every import of NGUI into that project caused this error. I recreated the project from source control, considering it some sort of Unity project corruption.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI change all my labels tex to Hexadecimal
« Reply #5 on: March 15, 2017, 01:30:39 PM »
As Shifty Geezer pointed out, it's some package corruption. Make sure to get the latest from the Asset Store, and check your Unity version. If you obtain a Unity 5.5 version of NGUI and import it into an earlier version of Unity, you're likely to run into issues.

Fireball14

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 23
    • View Profile
Re: NGUI change all my labels tex to Hexadecimal
« Reply #6 on: March 16, 2017, 05:22:24 AM »
If anyone need fix for this:
It's because "Force Text Mode" being enabled under "Asset Serialization" in "Edit > Project Settings > Editor". Change that setting to "Mixed" and you will never see this problem again.