Author Topic: UIWidgetInspector in 2.5  (Read 6006 times)

milali

  • Guest
UIWidgetInspector in 2.5
« on: March 21, 2013, 01:10:03 AM »
Hi UIWidgetInspector in 2.5 appears to be in UCS-2 little endian and not ANSI

when I switch it to ANSI I get corruption on the widget inspector for alignments.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIWidgetInspector in 2.5
« Reply #1 on: March 21, 2013, 10:37:18 AM »
So... why do you switch it then?

milali

  • Guest
Re: UIWidgetInspector in 2.5
« Reply #2 on: March 21, 2013, 05:01:47 PM »
because it doesn't compile on some machines

WE have had to switch it to UTF-8 and it compiles on all machines but the symbols are corrupted for alignment

milali

  • Guest
Re: UIWidgetInspector in 2.5
« Reply #3 on: March 21, 2013, 05:11:31 PM »
We also use Perforce for our source control if that is a factor

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIWidgetInspector in 2.5
« Reply #4 on: March 22, 2013, 01:54:01 AM »
Perhaps. I use Git here, and everything works fine. There is a #define within the code that falls back to the old drop-down list for Unity 3.5. You can just use that one instead.

milali

  • Guest
Re: UIWidgetInspector in 2.5
« Reply #5 on: April 07, 2013, 09:03:53 PM »
kk

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: UIWidgetInspector in 2.5
« Reply #6 on: June 19, 2013, 10:11:57 AM »
Sorry for the bump, but this issue is hapenning in the newest version (2.6.3).
I just re-encode it to UTF-8 and it works. We also use perforce, but I don't think that could be the issue.


jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: UIWidgetInspector
« Reply #7 on: November 11, 2013, 04:14:10 PM »
Sorry for a new bump, but I have this issue each time I do a NGUI update and I finally realize what it was. The filetype of UIWidgetInspector.cs in perforce was <utf16> and the other files was just <text>, I changed it to <text> and it works perfectly.

JFYI.