Author Topic: Sprite clipping on mac but not PC.  (Read 3849 times)

AnthonyPower

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Sprite clipping on mac but not PC.
« on: March 06, 2014, 10:06:28 PM »
I have a weird problem with the UI2DSprite class and unity sprites. When I am on my Mac a sprite that is 512X512 is cut down to have just a bit of padding when I add it to a UI2DSprite and it goes to 214X512. Yet when I am on PC the same sprite in the same scene is 512X512. This is frustrating because when i switch machines my sprites get stretched and look wrong.
Is this a function of NGUI or some setting i missed in Unity's import settings?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Sprite clipping on mac but not PC.
« Reply #1 on: March 07, 2014, 08:55:54 AM »
Anything related to 2D sprite system is on Unity's side. NGUI simply draws it using UI2DSprite with the values Unity provides.

I don't advise using the UI2DSprite until Unity 4.5. Quite a lot of functionality is simply missing at this point.