Import a sprite sheet into Unity
Unity reads a sprite sheet as one texture that you slice into cells in the Sprite Editor.
What you need
- A sprite sheet PNG. Every SpriteForge download is a ZIP with the PNG, a JSON atlas and an import guide.
- The numbers from that import guide: frame size, columns and rows, frame count and frame rate.
The steps below use a typical sheet: 25 frames of 256 × 256 pixels in 6 columns and 5 rows. Frames run left to right, then top to bottom. Use the numbers from your own guide.
Steps
- Drag the PNG into your project's Assets folder.
- Select it and set Texture Type to Sprite (2D and UI) and Sprite Mode to Multiple. For pixel art, set Filter Mode to Point and Compression to None.
- Open the Sprite Editor, choose Slice, and slice by Grid By Cell Size: 256 × 256 pixels, with zero offset and zero padding. Apply.
- Select the first 25 sprites in order and drag them into the Scene. Unity creates an animation clip and an Animator for you.
- Open the clip in the Animation window and set the sample rate to the frame rate in your guide (for example 12).
Good to know
- Leave out any empty cells at the end of the last row.
- If the character looks blurry, the texture is being filtered: use Point filtering.
- This is guidance for a regular grid sheet. Test it in your own project and engine version.
Official documentation: Unity Sprite Editor.
No sprite sheet yet?
Upload one character image, pick a motion, and AI animates it. You get a sheet like the one above in about a minute, with three free animations every month.
Other engines
New to sprite sheets? Read the sprite sheet guide.