Using the editor
Saving & storage
Where your work lives in the browser, what "Unsaved" means, and how not to lose things.
Where files go
The web editor has no access to your disk. Everything you create, import or save goes into your browser's Origin Private File System (OPFS). That is a private, per-site storage area, and it survives reloads and restarts.
- It is per browser and per machine. Chrome on your laptop and Chrome on your desktop are two separate projects.
- Private/incognito windows throw it away when you close them.
- Clearing "site data" for the editor deletes your project.
Saving
- Scenes: Ctrl+S (with the Scene view or Hierarchy focused) or
File > Save Scene. Saving also writes any UI canvases (
.uidoc) in the scene. - Scripts, pixel art, tilemaps: each editor has its own Save button (and Ctrl+S while it is focused). Pixel Art also autosaves a recovery copy.
If a save fails, a Scene not saved dialog tells you why. One possible reason: the browser refused to store the file.
The Unsaved pill
The orange Unsaved pill in the toolbar appears whenever a reload would lose something. Hover over it to see a list such as "the open scene has unsaved edits" or "a save is still being written to durable storage". If you try to close or reload the tab with unsaved work, the browser asks you to confirm.
When you switch scenes with unsaved edits, the editor asks: Save and switch, Discard and switch, or Cancel.
Backups
The editor can't export a project as a zip. Until it can:
- keep the source files of your assets (images, sounds, models) on your own disk, and
- for scenes and scripts, copy their text out. In the Script Editor, switch to the Text
tab, select all and copy. AI agents can read files with the
tgDebugAPI.