How to import GAMEGEN AI sprite sheets into Unity
Character Actions exports a horizontal PNG strip. In Unity, treat that file as a Multiple sprite, slice equal frames, then assign them to an Animation clip. A Full Body download is one figure — import it as Sprite Mode Single, not as a walk cycle.
This guide assumes Unity 2D (URp or Built-in) and a GAMEGEN AI PNG sprite sheet. The same slicing idea applies if you unpack a ZIP and import individual frames — Multiple mode on one strip is usually faster for jams.
TLDR
- Import a GAMEGEN AI action strip into Unity as Sprite Mode Multiple, slice equal cells, and turn Filter Mode off so pixels stay sharp.
Quick Facts
- Category
- Unity 2D import
- Strip source
- Character Actions PNG
- Single figure
- Full Body PNG, Sprite Mode Single
- Filter
- Point (no filter)
- Sprite Mode for strips
- Multiple
Step-by-step
Download the sheet from GAMEGEN AI
Generate the strip in Character Actions (or use a Full Body PNG if you only need one sprite). Place the file under Assets/Art/Characters in your Unity project.
Set Texture Type to Sprite (2D and UI)
Select the texture. In the Inspector, set Texture Type to Sprite (2D and UI), Sprite Mode to Multiple, Filter Mode to Point (no filter) for crisp pixels, and Compression to None or a lossless option if available.
Slice equal frames in Sprite Editor
Open Sprite Editor → Slice → Grid By Cell Count or Cell Size using your frame width/height. Apply, then name slices (idle_0, walk_0, …) if you want readable Animator states.
Build clips and attach to the character
Create Animation clips from the sliced sprites, add an Animator Controller, and drive transitions from your movement script. For Pixel Perfect cameras, enable the Pixel Perfect Camera component so 16/32/48px art stays sharp.
Pixels Per Unit and colliders
Match Pixels Per Unit to your tilemap (often 16, 32, or 48 to equal your sheet height). Misaligned PPU causes characters to float between tiles.
After import, add a Capsule/Box Collider 2D sized to the silhouette — AI sheets sometimes include transparent padding, so trim empty cells in the Sprite Editor if feet do not sit on the ground.
ZIP + manifest workflow
If you downloaded ZIP with manifest.json, you can parse frame rectangles in a custom importer. For most indie projects, Unity's built-in Multiple sprite slice is enough and easier to debug in the Editor.
Limitations
- A Full Body file is one sprite. Slicing it as a walk cycle will not invent frames.
- Point filtering is for pixel art. Smooth illustrated styles can keep bilinear filtering.
Frequently Asked Questions (FAQ)
Why does my sprite look blurry in Unity?
Set Filter Mode to Point (no filter), disable mipmaps when possible, and use a Pixel Perfect Camera. Bilinear filtering softens low-res sprites.
Does GAMEGEN AI export Unity .anim files?
No — GAMEGEN AI exports image (and optional ZIP) assets. You create Unity Animation clips from the sliced sprites in the Editor.
What sizes work best?
16, 32, and 48px heights map cleanly to common 2D Unity tile sizes. Keep the same height across player and enemy sheets when possible.