🎮 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.
- For Users — Install the package and play back animations
- Installation: Adding the package to your Unity project
- Basic Usage: Placing components and playing back
- Asset Import and Editor Integration: Start here for your first
.sspjimport - Generated Assets and AssetBundle: Per-file roles, dependencies, and how to split bundles
- Script Control and Events: Control from C# / Timeline and receiving events
- Motion Blending: Layering animations on tracks and cross-fading between them
- Buttons & UI States: uGUI buttons and toggles that show their state, and taking the pointer on the artwork only
- Performance Tuning and Advanced Settings: Pixels Per Unit, frame skipping, per-part shaders, masking and the Canvas path's constraints
- Migration from SS6Player: Migration guide from the legacy SS6Player for Unity
- Customization & Automation — Integrate with CLI and CI/CD
- Conversion Features and CI/CD: Batch conversion and automation with
ssconverter-cli
- Conversion Features and CI/CD: Batch conversion and automation with
- Limitations & Scope — What is not yet implemented, and the constraints to know before shipping
- For Player & SDK Developers — Build the native components from source, and find your way around the player
- Build Guide: How to build
libssruntime/libssconverter, use a changed package in a project and check it in Unity - How the Player Is Put Together: The layers, and why the player is built the way it is
- Build Guide: How to build
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.
SpriteStudioPlayerdraws in the world andSpriteStudioGraphicon a uGUI Canvas, where it fits itsRectTransformand 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) — andSpriteStudioPlayercan also make aTransformfollow a part and be sequenced on Timeline. - A seamless SpriteStudio ⇄ Unity round trip. Drop a
.sspjonto 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.
.ssabis 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
.sspjto.ssab/.ssqband generates aSpriteStudioAnimeAssetthat bundles textures, materials, animation names, external references, and more.ssconverter-cliproduces the same files in CI. - Runtime:
SpriteStudioPlayerdraws the asset in the scene, andSpriteStudioGraphicon 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.
Related Repositories¶
- 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
.sspjwithout a player.