Author Topic: Can't add sprites anymore  (Read 7966 times)

1stIssue

  • Guest
Can't add sprites anymore
« on: July 29, 2013, 09:04:41 AM »
Hey everyone,

just updated my NGUI from the Asset Store. But when I'm now trying to add simple RGBA 200x200 PX Image, it says:

"Operation Canceled:
The selected sprites can't fit into the atlas. Keep large sprites outside the atlas (use UITexture) and/or use multiple atlases instead."

As far as I can see, just the half of my atlas texture is filled and before the update I was just about to go with no problems in adding sprites / textures. Is this any common known issue?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Can't add sprites anymore
« Reply #1 on: July 29, 2013, 09:15:09 AM »
Do you have long and narrow sprites in your atlas? That's what trips up the Unity's built-in texture packing solution. Eliminate them if you can by splitting them up or using sliced sprites.

You're getting this error because after the operation the atlas would be resized beyond the current maximum dimensions. The maximum is 1024x1024 targeting GLES 1.1 / ARMv6, 2048x2048 targeting GLES 2.0 / ARMv7, and 4096x4096 otherwise.

1stIssue

  • Guest
Re: Can't add sprites anymore
« Reply #2 on: July 30, 2013, 02:21:11 AM »
Thank you very much for your advice. Seems to be an update because this didn't happen before. I know figured out to handle my sprites. Thank you :)