Unity Export
Take any tupic Game and open it as a real Unity project. Assets, scripts, scenes, and project settings, all packaged in a single zip.
What gets exported
Unity Export packages your generated game into a Unity 2021+ compatible project. The output is a zip file with everything Unity needs to open the project and run it inside the editor.
- Assets/Sprites -- every generated sprite (player, enemies, backgrounds) downloaded as PNG, with a Unity
.metafile that configures pixels-per-unit, filter mode, and import settings. - Assets/Config -- a JSON manifest mapping slot keys to sprite filenames so the runtime code can resolve assets at start.
- Assets/Scripts -- C# scripts generated from the game spec: gameplay loop, input handling, collisions, scoring.
- Assets/Scenes -- a starter scene with the camera, the player, and any prefab placeholders wired up.
- Assets/Prefabs -- prefabs for reusable game objects (enemies, pickups, projectiles).
- ProjectSettings -- player settings (product name, default resolution, target device) so the project opens cleanly.
How to export
From the Dashboard, open any of your games and choose Export to Unity. Or call the API directly:
GET https://games.tupic.com/api/v1/games/{game_id}/export/unity
Authorization: Bearer <your_token>The endpoint returns a binary zip download named <GameName>_Unity.zip. Unzip the archive, open the inner folder with Unity Hub, and the project loads with the starter scene already open.
What you get inside Unity
Once open in the editor, you can run the project immediately by pressing Play. From there it behaves like a normal Unity project:
- Tweak gameplay constants directly on the C# components.
- Replace generated sprites with your own art and re-link them in the prefabs.
- Build to any Unity-supported target -- WebGL, Android, iOS, Windows, Mac.
- Plug in additional Unity packages from the Asset Store as needed.
The exported project is yours. There is no runtime license, no callback to tupic Game from the built game, and no telemetry baked into the C# code.
Plan availability
Unity Export is included in the Professional and Enterprise plans. Developer-tier accounts can preview the structure but cannot trigger exports.
Limitations & notes
- The exporter targets Unity 2021 LTS or newer. Older versions may import the project but the sprite meta format may need to be regenerated.
- Sprite GUIDs in
.metafiles are derived from slot keys. If you add new sprites manually inside Unity, let Unity assign their GUIDs as usual. - The starter scripts implement the core mechanic of the chosen genre. Complex sequences, multi-stage logic, or AI-driven enemies generated by the platform are expressed declaratively and may need expansion in C# for production use.
- Audio assets and animations are not included in the current export. They are on the roadmap for a future version of the exporter.
Looking for a different engine?
Godot and Unreal exports are on the roadmap. In the meantime, the JSON spec returned by GET /api/v1/games/{game_id}/spec contains the full declarative description of the game (entities, levels, rules), which you can adapt to any engine of your choice.