Sprite Packer

Hi,

I have a Unity pro licence but can not access the Sprite Packer window. I get this message : " Sprite packing is a developer preview feature". Is there anyway to unlock this ? I would love to use the new 2D tools on my current projects but as I m targeting mobile devices I really need to be able to pack sprites into atlases.

It’s already unlocked; the message is just for info (in case there are still bugs, I assume). Sprites will not be put in atlases unless you give them a packing tag. Also, regardless of the sprite packer window, sprite packing is automatic unless you have it disabled in project settings/editor.

–Eric

aah nice ! I didn’t get the tag part :wink:

thanks a lot !

read your line about the tag, I was missing that too, guess is not “visible”.

ran the packer and it seems to create the atlas (with a lot of empty space around), but where is it saved?

The atlases aren’t meant to be editable, but I assume the files in Libary/AtlasCache are where they’re stored.

–Eric

Thanks Eric, I need to use them for the animations

pretty sure my atlas was built but there is no folder AtlasCache that I can find anywhere in the project or on my computer(macbook pro). Was the folder automatically created for you guys?

It’s in the project’s library folder, but you won’t be able to use those files manually.

–Eric

Ah, I see. I thought it was going to create a sheet like how Sprite Manager 2 creates them. So is this feature just for like memory saving purposes?

I also have a Unity pro license(just bought it today), but in menu bar “Window → Sprite Packer” is grayed out anyway to fix it?

If you mean the menu item itself it grayed out, I have no idea. For me, even an empty project has a functional Sprite Packer window although you obviously can’t do anything with it.

–Eric

Try creating a new project and then enabling sprite packer in the editor options window.

it works!!! Thank you :d

I figured out that one needs to import asset, using the “Import asset” to make sure the single atlas can be changed to multiplied and then sliced.

All you need is a packing tag for sprites.

–Eric

So presumably I’m not the only one who can’t enable it from Edit → Project Settings → Editor → Sprite Packer right? I changed it to “Always Enabled”, restarted Unity, and the Window → Sprite Packer (Developer Preview) menu button just stays grayed-out.

When i heard Tasharen joined Unity quite a while ago, i thought Unity 4.3 will have similar atlas system like NGUI

Sprite Packer (Developer Preview) menu button was grayed-out for me as well, “Packing Tag” did not activate it.

I finally solved it by switching the platform (in my case to iOS) in the player settings. After the textures were re-compressed, this option was available again.

The sprite packer works fine for a while, until I add a large animations to my project (4 animation of about 100 frame of 1422*800) which is quite large but necessary for our project. Now the sprite packer is running out of memory when I tried to packed my atlases. I already try to split my animation with several tags but it has no effect. I also tried to add my animation one by one but the packer always crash when I add the fourth. I understand that unity editor is compiled in 32bit so it won’t fully used my 16Go of Ram.
Does someone have a workaround ? a way to split the atlas packing work, without loading every single sprite in ram ??

Hi!

Did u manage to fix it?

I have exactly the same problem.