AutoSprite
Compatible with Unity® software

Sprite Sheet Generator for Unity

Generate animated 2D sprite sheets for Unity from a prompt or character image. Export PNG + JSON, then slice and animate in Unity faster.

Prefer working inside Unity?

Use the AutoSprite Unity Extension to import PNG + JSON exports, slice frames, and prepare AnimationClips in the editor.

AutoSprite Unity Extension
Assets/Sprites
Example AutoSprite character sprite sheet for Unity import

Unity import

PNG + JSON to sliced frames

Multiple sprite mode
Clean alpha channel
Animator clip ready
Texture TypeSprite (2D and UI)
Sprite ModeMultiple
Export pairPNG sheet + JSON atlas

Output fit

What AutoSprite exports for a Unity project

Unity can import many images. A production-ready sprite sheet needs more structure.

Unity needs

  • Predictable frame boundaries
  • Clean transparency
  • Selected moves that map to gameplay states

AutoSprite gives

  • Sheets Unity can slice
  • Motion you can preview before import
  • Per-animation outputs you can connect to Animator states

Transparent PNG sheets

Export a combined sprite sheet for each character move set, with clean alpha and frame alignment that Unity can slice.

JSON atlas data

Keep frame coordinates beside the image export so your team can preserve timing, names, and source frame references.

Per-animation sheets

Generate idle, walk, run, attack, jump, hit, or custom actions as separate sheet outputs instead of hand-building every pose.

Consistent characters

Start from a prompt or single image and keep the same character identity across the animations you plan to import.

Export files at a glance

PNG sprite sheet

Visual frames

Import as Sprite (2D and UI), then slice in Sprite Editor.

JSON atlas data

Frame coordinates

Keep frame size, position, naming, and source-frame context beside the texture.

Download bundle

Sheet + atlas files

Export multiple completed sprite sheets together when you are moving a character set into Unity.

Actual workflow

From AutoSprite to Unity in four passes

AutoSprite feeds Unity faster without replacing your Unity animation workflow.

Generate the artReview the motionImport with discipline
01

Prompt or image

Start from a character brief or existing concept art.

02

Sprite sheet

Generate consistent frames for the moves you selected in AutoSprite.

03

Sliced sprites

Import as Multiple sprites and slice in Unity's Sprite Editor.

04

Animator clip

Build AnimationClips and connect them to your controller states.

01

Start with the Unity character target

Give AutoSprite the character brief before you think about Unity import settings.

  • Upload a concept image or describe the character you need for your Unity scene.
  • Focus the prompt on your character's look and style, and keep them in full frame.
  • Use one visual language so generated poses stay consistent across the sheet.
AutoSprite upload step for creating a Unity sprite character
02

Choose Unity-ready animation loops

Pick moves that map cleanly to the states you plan to wire in the Animator.

  • Select idle, walk, run, jump, attack, hit, or a custom action.
  • Don't love a result? Just regenerate the animation until it feels right.
  • Try the Ultra or Max quality tiers when you want sharper, higher-fidelity frames.
Animation selection screen for sprite sheet generation
03

Generate, review, and keep the good take

Use the preview pass to catch animation issues before the art enters your Unity repo.

  • Preview the animation before exporting.
  • Look for foot sliding, weapon drift, or unclear silhouettes.
  • Catch frame spacing issues before the art lands in source control.
AutoSprite preview screen showing generated animation frames
04

Export the sheet and import into Unity

Download the PNG sheet and JSON data, then choose the import path that fits your project.

  • Use manual import when you want total control over slicing and clips.
  • Use the Unity Extension when you want AutoSprite to handle more editor setup.
  • Both paths keep Unity in charge of gameplay, controllers, and transitions.

Manual import

Place the files under Assets, set Sprite Mode to Multiple, slice frames, then create AnimationClips for each move.

Unity manual integration docs

Unity Extension

Import local files or connect with your API key, then let the extension slice exports and prepare clips inside Unity.

Unity Extension docs
AutoSprite export screen for downloading sprite sheets and JSON

Unity import

Settings that keep the sheet easy to slice

A clean export still needs consistent Unity texture settings.

Repeatable clipsClean frame edgesTeam-friendly setup

Unity Inspector checklist

Texture Type

Sprite (2D and UI)

Tells Unity to treat the PNG as a 2D sprite texture.

Sprite Mode

Multiple

Allows Unity to slice the sheet into individual frame sprites.

Pixels Per Unit

Match your project scale

Common values are 16, 32, 64, or 100 depending on camera and tile scale.

Filter Mode

Point (no filter) for pixel art, Bilinear for painted art

Keeps pixel art crisp or lets high-res art smooth between pixels.

Compression

None or High Quality

None is the only fully artifact-free choice for pixel art; High Quality works for painted sprites.

Mesh Type

Full Rect for rectangular sprite bounds

Useful when transparent padding and consistent frame bounds matter across animation frames.

Import guardrails

Common Unity import mistakes to avoid

Most sprite-sheet problems show up as small import mismatches.

Scale consistencyCrisp edgesAnimator coverage

Sprite Mode left as Single

Set Sprite Mode to Multiple before slicing, otherwise Unity treats the sheet like one large image instead of frame sprites.

Pixels Per Unit changes between sheets

Keep PPU consistent across idle, walk, run, and attack sheets so the character does not resize between AnimationClips.

Filter Mode does not match the art

Use Point filtering for crisp pixel art and Bilinear filtering for smoother painted or higher-resolution sprites.

Compression creates edge artifacts

Use None or High Quality compression for small characters where transparent edges and frame readability matter.

Animator states lack matching loops

Export the moves your controller expects before wiring transitions, so missing art does not block playtesting.

Workflow decision

When this Unity workflow is the right fit

Use AutoSprite where it accelerates animation coverage, then let Unity own import settings, clips, controllers, and gameplay behavior.

Use AutoSprite when

Animator states are waiting on character motion

Use this workflow when a Unity 2D prototype needs idle, walk, run, jump, attack, or hit frames before final art is ready.

Use manual import when

You want exact Sprite Editor control

Manual PNG + JSON import is the best fit when one character needs careful Sprite Mode, slicing, pivot, PPU, and compression review.

Use the Unity Extension when

You import many sheets into the editor

The extension makes more sense when repeated slicing, AnimationClip creation, and AnimatorController setup are slowing the team down.

Keep in Unity when

The work is gameplay, transitions, or prefab logic

AutoSprite supplies frames. Unity should still own Animator transitions, colliders, events, prefabs, sorting layers, and runtime behavior.

Pipeline fit

Built around the way Unity 2D teams actually test characters

  • AutoSprite sits before Unity's SpriteRenderer, Animator, Sprite Editor, Sprite Atlas, and Addressables workflows.
  • Use it when a designer, programmer, or art lead needs enough character motion to test a scene before final animation production is ready.
  • The fit question is concrete: generate the character, export the sheet, slice it in Unity, create clips, and keep building gameplay.

Prototype before final art

Use generated idle, walk, run, jump, and attack loops while you tune movement, hit timing, enemy behavior, and camera feel.

Keep Unity as the source of gameplay truth

AutoSprite supplies the frames. Unity still owns controllers, transitions, colliders, events, prefabs, materials, sorting layers, and runtime optimization.

Choose browser-first or editor-assisted import

Small projects can export manually. Teams moving many characters can use the Unity Extension to reduce repetitive slicing and clip setup.

Preserve your production path

Once the sprites are in Unity, you can still use your normal atlas packing, Addressables groups, source control, and review workflow.

Animator handoff

Turn sliced sprites into AnimationClips

After Unity slices the sheet, the frames can be dragged into a clip manually or created with an editor utility.

  • Load the sliced sprites from the imported sheet.
  • Bind the frames to a SpriteRenderer curve.
  • Create an AnimationClip and attach it to an Animator Controller.
  • Treat the snippet as a handoff sample; the deeper Animator and import walkthroughs live in the docs cluster.
Editor/AutoSpriteClipBuilder.cs
using System;
using UnityEditor;
using UnityEditor.Animations;
using UnityEngine;

public static class AutoSpriteClipBuilder
{
    [MenuItem("AutoSprite/Create Idle Clip")]
    public static void CreateIdleClip()
    {
        var path = "Assets/Sprites/hero_idle.png";
        var frames = AssetDatabase.LoadAllAssetRepresentationsAtPath(path);
        // Sort by trailing frame number so hero_idle_2 comes before hero_idle_10.
        Array.Sort(frames, (a, b) => FrameIndex(a.name).CompareTo(FrameIndex(b.name)));

        var clip = new AnimationClip { frameRate = 12 };
        var clipSettings = AnimationUtility.GetAnimationClipSettings(clip);
        clipSettings.loopTime = true;
        AnimationUtility.SetAnimationClipSettings(clip, clipSettings);
        var binding = new EditorCurveBinding
        {
            type = typeof(SpriteRenderer),
            path = "",
            propertyName = "m_Sprite"
        };

        var keys = new ObjectReferenceKeyframe[frames.Length];
        for (var i = 0; i < frames.Length; i++)
        {
            keys[i] = new ObjectReferenceKeyframe
            {
                time = i / clip.frameRate,
                value = frames[i]
            };
        }

        AnimationUtility.SetObjectReferenceCurve(clip, binding, keys);
        if (!AssetDatabase.IsValidFolder("Assets/Animations"))
            AssetDatabase.CreateFolder("Assets", "Animations");
        AssetDatabase.CreateAsset(clip, "Assets/Animations/hero_idle.anim");
        AnimatorController.CreateAnimatorControllerAtPathWithClip(
            "Assets/Animations/Hero.controller",
            clip
        );
    }

    private static int FrameIndex(string name)
    {
        var index = name.LastIndexOf('_');
        return int.TryParse(name.Substring(index + 1), out var n) ? n : 0;
    }
}

Unity Extension preview

Bring AutoSprite closer to the editor

  • Use browser export when you are testing character art quickly.
  • Use the extension when you move multiple characters through Unity every week.
  • Reduce repetitive slicing and clip setup so AutoSprite assets feel closer to the editor.
AutoSprite Unity Extension window inside Unity

Unity use cases

Where a Unity sprite sheet generator helps most

AutoSprite helps most when missing character motion is blocking playtesting.

Evaluate feelCheck readabilityCover controller states

Playable character prototypes

Build a first movement set quickly: idle, walk, run, jump, attack, and hit reactions. This is ideal before you commission or polish final art.

Enemy and NPC variants

Generate readable side-view or top-down characters for combat tests, village scenes, arena waves, and boss experiments.

Animator state coverage

Export the exact loops that match your controller states so a prototype does not stall on missing art for basic transitions.

FAQ

Unity sprite sheet questions

These are the practical questions developers usually ask before they try the workflow in a real Unity project.

Q

Does AutoSprite work with Unity 2D?

A

Yes. AutoSprite exports transparent PNG sprite sheets and JSON atlas data for Unity 2D projects. Import the PNG as Sprite (2D and UI), set Sprite Mode to Multiple, slice the frames in Unity's Sprite Editor, then create AnimationClips for the Animator.

Q

What files should I export for Unity?

A

For a normal Unity 2D workflow, export the PNG sprite sheet and the JSON metadata. The PNG becomes the texture Unity slices into sprites, while the JSON preserves frame coordinates, names, and source-frame context for your team or tooling.

Q

Do I need the AutoSprite Unity Extension?

A

No. You can use the manual PNG workflow in any Unity project. The Unity Extension is helpful when you want AutoSprite inside the Unity Editor and prefer automatic slicing, AnimationClip creation, and AnimatorController setup.

Q

Which Unity import settings matter most?

A

Set Texture Type to Sprite (2D and UI), Sprite Mode to Multiple, choose a Pixels Per Unit value that matches your camera and tile scale, and use Point filtering for pixel art or Bilinear filtering for smoother painted art.

Q

Can I use AutoSprite output in commercial Unity games?

A

AutoSprite is built for game production workflows, including commercial prototypes and shipped Unity projects. Check your plan terms for usage limits, team needs, and export volume before moving a large character set into production.

Q

Can AutoSprite generate pixel art for Unity?

A

Yes. AutoSprite can generate pixel-style characters, and those exports work well with Unity when you use Point filtering, consistent Pixels Per Unit settings, and compression settings that protect crisp transparent edges.

Generate your first Unity sprite sheet.

Start with a prompt or a character image, choose the Unity animation loops you need, and export the PNG sheet when the motion is ready to test.

AutoSprite is not sponsored by or affiliated with Unity Technologies or its affiliates. Unity is a trademark or registered trademark of Unity Technologies or its affiliates in the U.S. and elsewhere.