Skip to content

âš ī¸ Shared Limitations

Everything on this page comes from the shared core (libssruntime / libssab), so it applies to every official player regardless of engine. Each player's own docs list only what is specific to it - for those differences see Player Differences.

Source of truth

The canonical, implementation-level list lives in the SDK's Player Porting Guide (20_limitations.md - the guide's own table of contents is README.md). This page is the user-facing summary.

đŸŽŦ Playback & timeline

independent = true parts do not reverse or seek correctly

An Instance or Effect part authored with independent = true runs on its own real-time clock, detached from the parent timeline. The parent's reverse playback and seeking therefore break it - a real-time clock cannot run backwards, and there is no single correct "elapsed time" for an arbitrary past frame. Forward playback, including forward frame skips, is correct.

What to do: prefer authoring without independent = true for animations you may play in reverse or seek. If you must use it, tell your users that those children are only correct during forward playback.

Seeking does not fire the events it skips over

Jumping the playhead directly (setting the frame) emits only the destination frame's UserData / Signal / Audio events - every event on the frames passed over is skipped.

What to do: if you need every intermediate event, advance the animation step by step (repeated update()) instead of jumping.

Audio never plays in reverse

Reverse audio is not something the common audio backends provide, so sounds are played only while the animation advances forward in time. When the effective direction is backward - a reverse direction, or the return leg of ping-pong - the runtime still reports the audio events, and it is the sound that is suppressed: the players with built-in audio playback skip it, and on a player that hands audio events to your app, gate on isPlayingForward (is_playing_forward) before playing.

A negative playback speed is not one of those cases: speed is a multiplier, and a negative one stops the playhead rather than turning it around. Reverse is the playback direction's job. A speed of 0 stops it too.

Animation mixing is single-.ssab only

Animations are stacked on tracks - track 0 first, each further track mixed in on top of it. Stacking has four hard constraints:

  • Same .ssab. Mixing across resources is not supported.
  • Same cell per part. Every stacked animation must assign the same cell to the same part; the cell metadata is taken from track 0, so a mismatch produces size / pivot errors that visibly break the pose. Animations inside one .ssae normally satisfy this.
  • Discrete attributes are not mixed. Cell, parts color, shader, flip, hide, draw priority and texture come from track 0's main animation, and switch to the incoming one when a crossfade on track 0 begins - so a layered track cannot swap a cell. To swap one, use part overrides.
  • No per-part masks. What a track affects is decided by the parts its animation keys; a track cannot be limited to some parts.

Three secondary behaviors are worth knowing: for parts that carry parts_color, the visible alpha comes from track 0 rather than the mixed value; by default only track 0's main animation fires events (other sources have a default event threshold of +∞, so lower a source's threshold to let it fire too); and sources of different lengths run on independent clocks, so keeping them in step is the player's job.

Instance and Effect parts sit outside mixing. They belong to the .ssab's parts, not to one animation, so a crossfade on track 0 keeps them running rather than setting them up again. Their keys come from track 0's main animation, and where the outgoing and incoming animations key such a part on the same frame, it carries on with the outgoing animation's setting.

A mesh (skinned) part cannot be followed directly

A follower takes the transform of the part it follows. A mesh part's transform stays at its setup position while bone skinning moves its vertices, so a follower attached to a mesh part sits near the character's root rather than on the visible art.

What to do: add a null or bone part at that spot in SpriteStudio and follow that part instead.

🧩 What the player must supply

libssruntime computes animation state; two features are deliberately left to the player, because they need the host engine:

Feature The runtime provides The player must implement
Text parts The authored text, plus the glyph table for a bitmap-font project. Text also keeps its slot in the draw plan, so it composites by priority alongside every other part Glyph layout, rasterization for outline fonts, and the draw call - through the host engine's text stack
Audio The play event (sound name, play count, exact timing) Actual sound playback via the engine's audio system

Text parts do not mask, kern, or reach above U+FFFF

  • A text part authored as a mask is left out of the draw plan: it draws nothing and does not work as a mask either.
  • Kerning is not stored in the .ssab.
  • Bitmap-font glyphs are looked up by a 16-bit character code, so characters above U+FFFF are not supported.

Text and 9-slice parts are not drawn by any player yet

Two part types reach the player intact but have no implementation in any official player at present. This is not a difference between engines - it is uniform:

  • Text parts - the runtime supplies the authored string, the bitmap-font glyph table, and the part's slot in the draw plan. No player draws the glyphs yet.
  • 9-slice parts - the runtime builds the entire grid into dedicated buffers (Nines batches), ready to upload. No player reads those buffers yet, so the part renders as nothing rather than as a stretched cell.

Both keep their place in the draw order, so an animation that uses them plays with those parts missing rather than failing.

What to do: replace them with ordinary parts at authoring time for anything you ship today.

đŸ–Œī¸ Rendering constraints

9-slice parts ignore UV animation and rotated cells

The UV animation attributes and cells rotated inside their cellmap do not apply to 9-slice parts. The grid is built from the cell rectangle alone, matching what the authoring tool does.

đŸ“Ļ Shipping & loading

A .ssab whose schema version differs from the runtime does not load

A .ssab carries its schema version in the binary, and the runtime fails the load of one whose version is not the one it reads. Rust callers and the browser (wasm) API get both versions in the error's text; through the C ABI the text is only "Invalid SSAB version", and the two numbers are ss_runtime_ssab_schema_version() and the pack's own version field. Nothing is read partially, and an asset built against an older schema does not quietly keep working.

What to do: rebuild your assets with the SDK version your player runs. It is the same reason the hosted converter is published per schema version.

.ssab input is not validated

For maximum performance and minimum binary size (embedded / WASM targets), the runtime performs no structural validation of the .ssab it loads. A corrupted or maliciously crafted asset can cause out-of-bounds access, undefined behavior, or a crash.

What to do: load only assets you trust. If your product loads .ssab dynamically - over the network, or from user input - validate it beforehand on your side, or restrict loading to assets you ship.

Embedded-mode .ssab has two constraints

.ssab can be generated in embedded mode, which packs the referenced assets into the binary itself. Two constraints follow:

  • Asset paths are the key. Embedding is keyed by the asset file paths recorded in the .sspj / ss*e files, so duplicated paths within a project collide. Keep asset paths unique.
  • Only the assets that pack actually uses are embedded. The body of another .ssab referenced as an external instance is not included - ship those referenced .ssab files alongside.

The standard WebAssembly build requires SIMD

The runtime's standard WASM build uses WebAssembly SIMD instructions and does not load in browsers or runtimes without SIMD support. For those, the SDK also ships a build without SIMD (runtime-web-nosimd) with the same JavaScript interface; whether a player's browser target falls back to it differs by player.

What to do: unless your player falls back to the build without SIMD, treat WebAssembly SIMD as a browser requirement for your distribution.

âžĄī¸ Next

  • Glossary - the vocabulary used on this page.
  • Player Differences - what differs between players.
  • SDK Concepts - the convert -> playback pipeline these constraints come from.
  • Support - where to report something that is not on this page.