unity-game-enginespritegame-enginegame-developmentsprite-sheet

Unity Sprite Editor Slice Results in Diamond Shaped Slices/Missing Data


I am trying to slice a sprite sheet in Unity 2021.3.1. I have a 1024x1024 png I am saving 32x32 tile map sprites onto.

When I slice them they appear to be selected correctly. Example

But each sprite ends up losing data and being in a diamond shape. Example

Here are my settings for the Sprite Sheet. Settings

I've tried adjusting the pixels per unit, manually defining each sprite, different slice options. I can't seem to find this issue online either.


Solution

  • I'm running into this as well. Ticking "Keep Empty Rects", slicing, unticking, and slicing again fixed it for me.