Author Topic: Some sprites larger than they should be on Windows Store platform  (Read 1431 times)

ayreguitar

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Using NGUI v3.8.0 and Unity3d v4.6.3p1

When built for Windows Store (Universal 8.1) and running on Win32 device some of the NGUI sprites are too large (like they're zoomed in) whilst others are correct. Even when using the same atlas as ones that display correctly. Atlas is 72dpi. Seems fine on Arm device and also when built as WP8.

Just want to know if this is a known problem and if there's a quick fix?

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Some sprites larger than they should be on Windows Store platform
« Reply #1 on: June 16, 2015, 12:41:48 PM »
There's nothing in NGUI that would make sprites larger on one platform and not on another. All I can suggest is make sure you're not using zero-scales anywhere. Tweening from a scale of 0 is an error as you can't divide by zero.