Skip to content

🎮 SpriteStudio Player for Unity — Documentation

A plugin for playing back animations created with SpriteStudio on Unity. Drop a .sspj onto the SS Importer window (Window > SpriteStudio > Importer), drag the asset it makes into the Hierarchy, and press Play — no code to reach the first frame.

No SpriteStudio data of your own yet?

The official sample data works as-is — that page is Japanese only, but the downloads themselves are language-neutral. Ringo is a good character sample, and Particle is a good one if you want effects.

Contents

This documentation is organized by purpose, as follows.

Key Features

  • Bring your characters to life. Breathing and blinking, swaying hair and clothes, flashy slash and magic effects — the motion is built visually in a dedicated editor (SpriteStudio) with bone rigs, mesh deformation and particles. Artists work in their own tool, and Unity just plays the result. Animations crossfade and layer on tracks at runtime, so a walk eases into a run instead of snapping (Motion Blending).
  • Not just characters — effects, UI and whole scenes. Particle effects sit on the same timeline as the character, so there is no separate effect system to set up. Combine characters, backgrounds, effects and UI into a cutscene or a full-screen sequence, and play it in Unity as a single animation.
  • In your scene or on your UI. SpriteStudioPlayer draws in the world and SpriteStudioGraphic on a uGUI Canvas, where it fits its RectTransform and follows Mask / Rect Mask 2D, and can be a button or a toggle that plays a section for each state (Buttons & UI States). Both are controlled from C# — with per-part overrides, cellmap texture swaps, and callbacks from the artist's user-data, signal and audio keys (Script Control and Events) — and SpriteStudioPlayer can also make a Transform follow a part and be sequenced on Timeline.
  • A seamless SpriteStudio ⇄ Unity round trip. Drop a .sspj onto the SS Importer window and it becomes a ready-to-use asset (Asset Import and Editor Integration). To tweak it, click Open SSPJ in the Inspector, save in SpriteStudio, then click Reconvert — no manual export step. The animation lives in its own asset rather than the scene, so teammates don't collide over scene merges in Git.
  • Zero-parse loading, SIMD and Burst playback. .ssab is a FlatBuffers binary read in place, so loading involves no parsing. Each frame, a SIMD-optimised Rust core and Burst jobs build the meshes zero-copy, with no per-frame GC allocations — light enough for mobile and for scenes with many characters. Turn on Sub-Frame Interpolation in the Inspector and motion follows high-refresh-rate displays.

Overview

The flow of playing back an animation using this plugin is shown below.

graph LR
    SS[" .sspj / Images<br>(Source Assets) "]

    subgraph Convert ["Conversion Process"]
        IMP[[" SS Importer window<br>(Built into Unity Editor) "]]
        CLI[[" ssconverter-cli<br>(CLI Tool) "]]
    end

    subgraph Asset ["Import Artifacts (Assets/)"]
        BIN[" .ssab / .ssqb "]
        SO[[ SpriteStudioAnimeAsset ]]
    end

    subgraph Runtime ["Your Scene"]
        NODE[[ SpriteStudioPlayer /<br>SpriteStudioGraphic ]]
    end

    SS -- "Drag & Drop" --> IMP
    SS -- "CI/CD or Manual" --> CLI
    IMP -. "Auto Convert" .-> BIN
    CLI -. "Generate" .-> BIN

    BIN -. "Imported" .-> SO
    SO -- "Set" --> NODE
    NODE --> RENDER{{" Screen "}}

    classDef generated stroke-dasharray: 5 5;
    class BIN,SO generated;
  • Editor: The SS Importer window converts a .sspj to .ssab / .ssqb and generates a SpriteStudioAnimeAsset that bundles textures, materials, animation names, external references, and more. ssconverter-cli produces the same files in CI.
  • Runtime: SpriteStudioPlayer draws the asset in the scene, and SpriteStudioGraphic on a uGUI Canvas.

License

This project is released under the BSD-3-Clause license. For details, see the License.

Third-Party Notices

This project uses third-party open source libraries. For details, see the Third-Party Notices.

  • SpriteStudio Docs — the documentation portal for the SDK and its official players.
  • SpriteStudio-SDK — the SDK itself, providing libssruntime / libssconverter.
  • SSConverterGUI — a standalone desktop GUI for converting .sspj without a player.