Import AI sprites into Unity
SpriteRig generates a character from a description (or your own upload), auto-rigs it in the browser, and exports two things Unity can eat directly: a sliced sprite sheet with animation data, or the rig itself as layered parts for Unity's own 2D animation tools.
Option 1: the sprite sheet
The Unity export is a zip with one PNG sheet and a JSON file listing every animation's frames, pivots and timing.
- Unzip it and drag the PNG into your Assets folder.
- Select the PNG. Set Texture Type to Sprite (2D and UI), Sprite Mode to Multiple and Compression to None. Use Point filtering for pixel art. If the sheet is wider or taller than 2048 pixels (512 and 1024 frames usually are), raise Max Size to 4096 or 8192. Click Apply.
- Open Sprite Editor → Slice. Choose Grid By Cell Size, enter the frame size you exported, set Pivot to Custom with X 0.5 and Y 0.0625, then Slice and Apply. That pivot puts the origin at the character's feet in every frame.
- Unity numbers the frames in order across all animations, skipping empty cells. The JSON's "sprites" field lists each animation's range — for example, idle is character_0 to character_23.
- Select one animation's sprites, in order, and drag them into the Scene. Unity creates the animation clip for you.
Option 2: the layered rig
"Download rig (layered parts)" exports the rig itself: one PNG per bone, cut by the same skin weights SpriteRig animates with and overlapped at the joints, plus a skeleton.json with the bone hierarchy, pivots and rest angles. Use it when you want to author animations inside Unity instead of using baked frames.
- Create one GameObject per bone, parented as skeleton.json's bones[].parent describes (the torso and both thighs are roots).
- Attach each part's PNG to its bone's GameObject, offset so the part's pivot sits on the GameObject's origin.
- Place each GameObject at its bone's headPosition. The coordinates are pixels, origin top-left, y-down — negate Y for Unity.
- Rotate bones to pose; keyframe rotations to animate. The parts overlap at the joints, so nothing gapes when a limb bends.
New here? SpriteRig is a rig-first AI sprite tool: generate or upload a character, auto-rig it in the browser, and export for Unity, Godot or GameMaker. Start free with 20 credits.