I’ve succesfully packed sprites in the past but I can’t seem to get it to work anymore.
I use Unity Personal 5.3.4f1 (ignore the dark skin its unity personal)
- I have sprite packer “always enabled” in editor options
- I have a couple of sprites with the packing tag “Tiles”
- I press pack and nothing happens or appears.
After repeatitly pressing Pack:
Does anyone have any idea what im doing wrong?
Maybe it´s a bug in the new version but Im not sure
I fixed it, apparantly OnPreprocessTexture() was called even after the texture was imported, so it kept resetting the sprite packing tag (I think). altough it didnt show in the inspector. I fixed by using OnPostprocessTexture instead.
Ok I managed to deduce the problem down further. Apparantly sprites that have read/write enabled in import settings will be ignored by the packer (even if they have a packing tag).
So my previous post is false
1 Like
@Robert9552 Thanks for the solution!!