Documentation menu

Exporting to your engine

Description: Get dialogues and quests from Narratyr into Unreal, Unity, or Godot.

Draft. Setup guides are available for Unreal Engine and Godot. The Unity guide is still in development. See the integrations overview for current availability.

Each supported engine has a Narratyr exporter and runtime library. The exporter converts your documents to native engine data. During play, the runtime runs each graph and sends its results to your game.

Export workflow

  1. Select your engine and export from Narratyr.
  2. Let the engine plugin import the result as native assets.
  3. Use the runtime library to start graphs and respond to their events.

Your game displays dialogue lines and choices through its own interface. Narratyr provides the content and available options.

Supported engines

Engine Package Language
Unreal Engine Unreal Engine 5 plugin, without an engine rebuild C++ and Blueprint
Unity Unity package with a custom importer C#
Godot Godot 4 add-on GDScript

Each integration includes an example project. Download packages and examples from the integrations page.

Custom engines can use the documented export format. The expression abstract syntax tree describes how a custom runtime can evaluate exported expressions.

Regenerate exports

Regenerate exported files after changing a source document. Your team can run the export as a build step or commit exported assets with the documents. Choose the option that matches your process for generated content.