UnityMetadata export

Sprite Sheet Generator for Unity

The Unity preset writes spritesheet.png and spritesheet.png.meta. Drop both into Assets and the Sprite Editor has every frame cut at the cell size from the Grid Layout panel. No importer package required.

A sprite sheet exported as a uniform PNG grid, next to the settings it needs in Unity
What you export

Format menu

Unity

PNG grid plus a TextureImporter .meta

Format > Unity downloads spritesheet.png and spritesheet.png.meta. The .meta is the file Unity writes for its own TextureImporter: Sprite Mode set to Multiple, Point filtering, no compression, and one named rect per frame with the y axis flipped to Unity's bottom-left origin. Put both files in the same Assets folder and Unity reads the slices on import. The cell size is the one shown under Grid Layout, so editor Padding is already inside each rect. If you rename the PNG, rename the .meta to match.

Step by step

Getting the sheet into Unity

  1. 1

    Export the pair

    Click Format in the Export panel and choose Unity. The ZIP holds spritesheet.png and spritesheet.png.meta.

  2. 2

    Drop both into Assets

    Keep the names together. Unity imports the PNG with the settings in the .meta; if you rename the PNG, rename the .meta the same way.

  3. 3

    Check the slices

    Select the PNG and open the Sprite Editor. Sprite Mode is Multiple and the frames are listed as frame_000 upward. Adjust a pivot here if your art needs one.

  4. 4

    Confirm the texture settings

    The .meta sets Filter Mode to Point and Compression to None. Check the Inspector if the project overrides texture settings; bilinear filtering blurs pixel art.

  5. 5

    Make the animation

    Select the sliced sprites in the Project window and drag them into the Scene together. Unity creates an Animation Clip and an Animator Controller for them.

Cheat sheet
SettingUnity value
ImportPNG and .meta into the same Assets folder
Sprite ModeMultiple, set by the .meta
Slicesframe_000 upward, one rect per cell
Filter ModePoint (no filter), set by the .meta
CompressionNone, set by the .meta
PivotCenter by default; change it in the Sprite Editor
Built for the workflow

Native import settings

The .meta is Unity's own TextureImporter file, not a third-party atlas or a plugin. Unity reads it the same way it reads a .meta it wrote itself.

Exact rects

Every frame carries its own rect. The y values are measured from the bottom-left, because that is where Unity starts its texture coordinates.

Single frames if you prefer

The ZIP export writes every frame as its own PNG (frames/frame_001.png and up). Import those with Sprite Mode set to Single if you would rather not slice at all.

Troubleshooting

When the sheet fights Unity

Every frame after the first is shifted right

Cause
Unity is using its own .meta, or a Slice dialog was run with Offset or Padding set. The cells in this export have no gap between them, so extra padding grows the error across the row.
Fix
Replace the .meta with the one from the Unity export, or delete the old .meta and copy the pair in again. If you sliced by hand, set Offset X, Offset Y, and Padding to 0.

Sliced sprites are cropped or carry a strip of the next frame

Cause
The .meta is missing or renamed, so Unity imports the PNG with its own defaults instead of the exported rects.
Fix
Keep spritesheet.png.meta next to spritesheet.png and reimport. As a check, the sheet width divided by Columns should equal the cell width shown under Grid Layout.

The generated animation plays at the wrong speed

Cause
The clip runs at its own sample rate, not at the rate you previewed.
Fix
Open the Animation window, turn on Show Sample Rate from its options menu (recent versions hide the field), and set Samples to your target, for example 12.

Sprite edges flicker or bleed while the camera moves

Cause
Mip maps are on, or the sprite is drawn at a fractional pixel position, so the sampler reaches into the neighbouring cell.
Fix
Turn off Generate Mip Maps in the texture importer, set Mesh Type to Full Rect, and add a Pixel Perfect Camera so sprites land on whole pixels. One pixel of editor Padding also gives each frame a transparent border to absorb the error.

The character sinks into the floor or rotates around its stomach

Cause
Every sliced sprite uses a Center pivot, and a character usually stands on its feet.
Fix
Select the slices in the Sprite Editor and set Pivot to Bottom, or set it per sprite with Custom. Unpack the prefab if you need to change it after the sprites are in the Scene.

The imported texture looks lower resolution than the file

Cause
A platform override is capping Max Size below the sheet dimensions, so Unity scales the texture down on import.
Fix
Raise Max Size to at least the largest sheet dimension in the Inspector or the platform override, and keep Compression at None. Very large sheets are easier to manage split into one sheet per animation.
Versions and edge cases

Versions and edge cases

2D Sprite package
The Sprite Editor ships in the 2D Sprite package. Projects started from a 3D template may not have it, and the Sprite Editor button then does not appear. Add 2D Sprite in the Package Manager first.
Universal Render Pipeline
URP changes materials, not sprite import. Filter Mode, Compression, and slicing work the same way. For crisp scaling, use the Pixel Perfect Camera component rather than changing the sheet.
Unity Sprite Atlas
Unity can repack sliced sprites into a Sprite Atlas asset for batching. That happens at build time on top of the sheet, so keep this PNG as the source art and let Unity repack it.
Unity FAQ

More detail in the related guide, or compare every export format.

Other engines

Export for Unity

Load your frames, check the loop in the Preview tab, then export. For Unity that means: PNG grid plus a TextureImporter .meta.