---
title: "Export pixel art to Unity"
description: "Bring sprites and animations into Unity with the 2D Aseprite Importer, choose the right Pixels Per Unit, and set up tilesets, maps and characters."
source: https://makepixel.ai/guide/export-to-unity/
language: en
updated: 2026-11-25
---

# Export pixel art to Unity

MakePixel exports sprites to Unity as an `.aseprite` file, which Unity reads through its official **2D Aseprite Importer** package. Install it once, drag the file in, and set Pixels Per Unit. Layers, frames and tags come with it.

## Install the importer first

Unity doesn't read `.aseprite` files on its own, so this package is the one thing you need.

1. In Unity, open the **Package Manager**.
2. Choose the **Unity Registry** and search for **2D Aseprite Importer**.
3. Select **Install**.

You only do this once per Unity project.

## Export from MakePixel

1. Select the image or animation on the canvas and press ⌘E (Ctrl+E on Windows and Linux).
2. Under **Export to**, pick **Unity**.
3. Check the **File name**, then select **Export**.

You get a zip with one folder in it:

| File | What it is |
| --- | --- |
| `name.aseprite` | Your sprite, with its layers, frames, durations and tags |
| `HOW-TO-IMPORT.txt` | These steps, with a suggested Pixels Per Unit |
| `provenance.json` | Where each image came from, for store disclosures |

Reverse and ping-pong tags are written out as real frames, because Unity plays clips forwards. Reference layers stay behind, so your sketches don't end up in the game.

**Exporting several animations.** Select them together and leave **Combine into one file** on. Images of the same size become one `.aseprite`, with one tag per animation. Images of different sizes, or ones with slices or tile layers, can't share a timeline, so each gets its own `.aseprite` in the same zip.

## Bring it into Unity

1. Unzip the download.
2. Drag `name.aseprite` into your **Assets** folder.
3. Select it and set **Pixels Per Unit** in the Inspector (see the next section).
4. Make sure **Animation Clips** is on under **Generate Assets**, then select **Apply**.

The importer makes one Animation Clip for each tag. With no tags, you get one clip covering every frame. Option names vary a little between package versions, so if yours looks different, check the manual for your installed version.

## Choose Pixels Per Unit

**Pixels Per Unit (PPU)** is how many pixels fit in one Unity unit. It decides how big your sprite is in the world, and getting it wrong is the most common reason pixel art looks off in Unity.

The rule: **pick one number for your whole game, usually your tile size.**

| Your tiles | PPU | A 16 × 32 character is |
| --- | --- | --- |
| 16 × 16 | 16 | 1 unit wide, 2 units tall |
| 32 × 32 | 32 | 0.5 units wide, 1 unit tall |

With one PPU everywhere, a tile is exactly one unit, physics values stay sensible, and every sprite's pixels are the same size on screen. Don't set PPU to each sprite's own width: a big boss and a small coin would then come out the same size.

`HOW-TO-IMPORT.txt` suggests a number: the tile size of a tileset in your project, or 16 if it has none.

## Keep it crisp

The importer gives an `.aseprite` file's texture Point filtering and no compression by default, so your pixels start out sharp.

For movement without shimmer, add Unity's **Pixel Perfect Camera** to your camera and set its Assets Pixels Per Unit to the same PPU.

**Facing left and right.** The Unity export doesn't include a mirrored copy, and you don't need one. Flip the sprite at runtime:

```csharp
spriteRenderer.flipX = velocity.x < 0;
```

## Tilesets

MakePixel doesn't write Unity's own tile assets, so a tileset exports as a PNG and you connect the tiles in Unity:

1. Select the tileset, press ⌘E and pick **Unity**.
2. Drag `name.png` into Assets. Set Sprite Mode to **Multiple**, use the same PPU as above, set **Filter Mode** to Point and **Compression** to None.
3. In the **Sprite Editor**, slice by cell size using your tile size.
4. Drag the sliced sprites into a **Tile Palette**.
5. For autotiling, set up a **Rule Tile**. It's part of Unity's 2D Tilemap Extras.

Your terrains, collision shapes and tile properties don't come across in this route. If you need them in the engine, the Godot and Tiled exports carry them.

## Maps

MakePixel doesn't write Unity tilemaps directly. The route is through Tiled:

1. Right-click the map and choose **Export**, then pick **Tiled**.
2. Unzip the download.
3. Install **SuperTiled2Unity**, a third-party Unity package that imports Tiled maps.
4. Bring the exported folder into Assets, following that package's instructions.

## Characters

A **character** exports from its own page, and its **Unity** target works differently from the one above: it writes one PNG for each action and direction (`name_walk_right.png`) plus a `name.json` with the pivot, clips, frame positions and durations. Unity won't read that JSON by itself, so it's meant for your own import script.

If you'd rather have Unity build the clips for you, choose **Aseprite** in **Export character** and import that `.aseprite` file with the steps above.

## Common problems

**Unity shows the `.aseprite` file but no sprite.** The 2D Aseprite Importer isn't installed in this project.

**The sprite is blurry.** On a PNG, set Filter Mode to Point and Compression to None, then select **Apply**. An `.aseprite` file already has those defaults, so check your camera and add the **Pixel Perfect Camera**.

**Sprites are huge, tiny or don't match.** They have different PPU values. Give every sprite the same one.

**A clip is missing frames.** Unity builds each clip from one tag. Frames outside every tag stay in the `.aseprite` but get no clip of their own, so delete the tag, make it again over those frames, and export again.

**There are no animation clips.** Turn on **Animation Clips** under **Generate Assets** in the file's importer settings.

## Where to go next

Learn how frames and padding work in [sprite sheets](https://makepixel.ai/features/sprite-sheets/), or build levels with [tilesets and maps](https://makepixel.ai/features/tilesets-and-maps/). Working in another engine too? See [Export to Godot](https://makepixel.ai/guide/export-to-godot/).
