Author Topic: Low Resolution Aspect Ratios  (Read 147 times)

stevej

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 117
    • View Profile
Low Resolution Aspect Ratios
« on: July 12, 2017, 06:27:01 PM »
Does anyone know how this setting affects NGUI? I'm finding that I can't get NGUI to work in the Editor anymore unless I have this setting turned on, but it results in me being forced to view everything at 2x minimum scale. Everything still works fine in a build, just not in the Editor.

See video for demo. When I turn the setting off and try to run the Editor Game view at the normal 1x zoom, NGUI reacts really strangely to clicks and doesn't register them.

http://www.stevejarman.com/temp/ngui_scale_issue.mp4

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 327
  • -Receive: 1153
  • Posts: 22,063
  • Toronto, Canada
    • View Profile
Re: Low Resolution Aspect Ratios
« Reply #1 on: July 15, 2017, 06:30:18 AM »
It's a Mac OS retina issue with the Unity Editor. Basically editor is reporting the wrong screen size for the game view. Go to NGUITools.cs, line 1998, you will see a commented out section there. Uncomment it, and see if that fixes it for you. Basically it works one way for some, and the other way for others. Unity bug.