{"schemaVersion":"1.0","record":{"label":"Yarn Spinner","description":"Dialogue scripting and runtime toolkit with engine-specific integrations and differing licenses.","aliases":["YarnSpinner"],"kind":"software","website":"https://www.yarnspinner.dev/","overview":"Yarn Spinner is a toolkit for branching dialogue and narrative in games. It combines a scripting language with runtime and engine-integration components. Unity, Godot and Unreal offerings differ in maturity and licensing, so selecting the engine-specific package is part of evaluating the product rather than a minor installation detail.","license":"MIT core and Godot C# integration; GDScript/Unreal integrations use YSPL; optional paid additions","lifecycle":"active","example":false,"features":[{"name":"Embedded dialogue","status":"supported","detail":"Runners connect narrative scripts to game-specific presentation, commands and variable storage.","useCase":"Game dialogue","platforms":["Authoring and runtime targets differ; see article"],"region":"Distribution platforms, component licenses and content rights apply","evidence":[{"url":"https://docs.yarnspinner.dev/components/dialogue-runner","locator":"Unity runner, presenters, line providers and in-memory default variable storage","retrievedAt":"2026-10-06T22:55:42Z","kind":"vendor"}]},{"name":"Cross-engine parity","status":"limited","detail":"Unreal is alpha with documented localization differences; Godot packages differ in status and licensing.","useCase":"Multi-engine narrative development","platforms":["Authoring and runtime targets differ; see article"],"region":"Distribution platforms, component licenses and content rights apply","evidence":[{"url":"https://github.com/YarnSpinnerTool/YarnSpinner-UnrealEngine","locator":"Alpha integration with separate Yarn Spinner Public License","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"},{"url":"https://github.com/YarnSpinnerTool/YarnSpinner-Godot","locator":"C# integration; verify separate integration license and requirements","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"}]},{"name":"Uniform open-source license","status":"unsupported","detail":"MIT core does not make YSPL integrations MIT; each component's license applies.","useCase":"Dependency selection","platforms":["Authoring and runtime targets differ; see article"],"region":"Distribution platforms, component licenses and content rights apply","evidence":[{"url":"https://github.com/YarnSpinnerTool/YarnSpinner","locator":"MIT compiler and engine-agnostic runtime","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"},{"url":"https://github.com/YarnSpinnerTool/YarnSpinner-Godot-GDScript/blob/main/LICENSE.md","locator":"YSPL source-available restrictions: attribution, noncompetition, redistribution and AI training","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"}]}],"alternatives":[],"slug":"yarn-spinner","draftAlternatives":[{"targetSlug":"ink","status":"limited","detail":"Runtime dialogue components cover the task, with different syntax, commands, localization and persistence integration.","useCase":"Embedded branching dialogue","platforms":["Authoring and runtime targets differ; see article"],"region":"Distribution platforms, component licenses and content rights apply","evidence":[{"url":"https://docs.yarnspinner.dev/components/dialogue-runner","locator":"Unity runner, presenters, line providers and in-memory default variable storage","retrievedAt":"2026-10-06T22:55:42Z","kind":"vendor"},{"url":"https://github.com/inkle/ink/blob/master/Documentation/RunningYourInk.md","locator":"Runtime text/choice integration, variable access and JSON story state","retrievedAt":"2026-10-06T22:55:42Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/YarnSpinnerTool/YarnSpinner","locator":"MIT compiler and engine-agnostic runtime","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"},{"url":"https://www.yarnspinner.dev/install/","locator":"Free core and paid additions; Godot GDScript Early Access and Unreal alpha","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/YarnSpinnerTool/YarnSpinner","locator":"MIT compiler and engine-agnostic runtime","retrievedAt":"2026-10-06T22:55:08Z","id":"yarn-core","title":"Yarn Spinner core repository","kind":"vendor"},{"url":"https://github.com/YarnSpinnerTool/YarnSpinner-Godot","locator":"C# integration; verify separate integration license and requirements","retrievedAt":"2026-10-06T22:55:08Z","id":"yarn-godot","title":"Yarn Spinner Godot C# integration","kind":"vendor"},{"url":"https://github.com/YarnSpinnerTool/YarnSpinner-Godot-GDScript/blob/main/LICENSE.md","locator":"YSPL source-available restrictions: attribution, noncompetition, redistribution and AI training","retrievedAt":"2026-10-06T22:55:08Z","id":"yarn-yspl","title":"Yarn Spinner GDScript license","kind":"vendor"},{"url":"https://github.com/YarnSpinnerTool/YarnSpinner-UnrealEngine","locator":"Alpha integration with separate Yarn Spinner Public License","retrievedAt":"2026-10-06T22:55:08Z","id":"yarn-unreal","title":"Yarn Spinner Unreal integration","kind":"vendor"},{"url":"https://www.yarnspinner.dev/install/","locator":"Free core and paid additions; Godot GDScript Early Access and Unreal alpha","retrievedAt":"2026-10-06T22:55:08Z","id":"yarn-install","title":"Yarn Spinner integration options","kind":"vendor"},{"url":"https://docs.yarnspinner.dev/components/dialogue-runner","locator":"Unity runner, presenters, line providers and in-memory default variable storage","retrievedAt":"2026-10-06T22:55:42Z","id":"yarn-runner","title":"Yarn Spinner dialogue runners","kind":"vendor"},{"url":"https://github.com/inkle/ink/blob/master/Documentation/RunningYourInk.md","locator":"Runtime text/choice integration, variable access and JSON story state","retrievedAt":"2026-10-06T22:55:42Z","id":"ink-runtime","title":"Running ink in a game","kind":"vendor"}],"overviewCitations":["yarn-core","yarn-install"],"licenseCitations":["yarn-core","yarn-godot","yarn-yspl","yarn-unreal"],"sections":[{"id":"runtime","heading":"Dialogue and game integration","paragraphs":[{"id":"runner","content":[{"text":"In Unity, a Dialogue Runner executes a Yarn project and delivers lines, choices and commands to presentation components. Line providers connect localized text and associated assets, while variable storage holds narrative values. The default in-memory storage is not evidence of a complete persistent save system for the surrounding game."}],"citations":["yarn-runner"]}]},{"id":"engines","heading":"Engine-specific status","paragraphs":[{"id":"godot","content":[{"text":"The current installation page lists Godot C# support and GDScript Early Access. The C# repository still labels its integration work in progress without official support. Those descriptions should not be collapsed into a blanket production-readiness claim. The GDScript implementation is a separate package with its own license."}],"citations":["yarn-install","yarn-godot","yarn-yspl"]},{"id":"unreal","content":[{"text":"The Unreal integration is an alpha for Unreal Engine 5.4 or later. Its documentation identifies differences from Unity, including Unicode normalization and plural-rule coverage. A shared Yarn language consequently does not establish identical behavior across runtimes, especially for localization and presentation."}],"citations":["yarn-unreal"]}]},{"id":"licensing","heading":"Free access and licensing","paragraphs":[{"id":"license","content":[{"text":"The core compiler/runtime and cited Godot C# integration use MIT licensing. The newer GDScript and Unreal packages use the Yarn Spinner Public Licence. It allows qualifying commercial games but restricts competing tools, standalone redistribution and AI-training uses, with attribution requirements. Source availability under those terms is not the same as unrestricted open-source licensing."}],"citations":["yarn-core","yarn-godot","yarn-yspl","yarn-unreal"]},{"id":"paid","content":[{"text":"Optional Yarn Spinner+ offerings provide additional presentation components, support or early features, with availability depending on the engine. Choosing a free core package does not establish entitlement to every paid presenter or future integration feature."}],"citations":["yarn-install"]}]},{"id":"substitution","heading":"Substitution considerations","paragraphs":[{"id":"comparison","content":[{"text":"Yarn Spinner can substitute for "},{"text":"ink","targetSlug":"ink"},{"text":" for scripted branching dialogue inside a game. That assessment concerns narrative execution, not an automatic source conversion or replacement of the host engine. Existing command bindings, localization assets, user interfaces and saved variables need an explicit migration plan."}],"citations":["yarn-runner","ink-runtime"]}]}]},"id":"Q53","revision":37,"updatedAt":"2026-10-08T23:21:02Z","sourceUrl":"https://substitutefor.net/entities/Q53?revision=37"}}