SheetForge Web
SheetForge ships a companion web app at web.sheetforge.workers.dev. In the browser, with no Unity and no install, you can author and validate sheets, send your edits back to a Google sheet, and download the edited files.
This page explains what the web app shares with the editor, how plugins behave in the browser, and what stays in Unity.
In this chapter
- What the web app does: look up each feature of the web app, area by area, and the parts it shares with the Data Studio.
Choose the browser or Unity
| Surface | Use it for |
|---|---|
| Browser | Quick authoring, validation and sheet edits from anywhere. Teammates who do not open Unity |
| Unity | Generated C# classes and baked ScriptableObjects, which come from the import, codegen and bake steps |
Both write to the same sheet, so a change made in one is picked up by the other on the next read.
The same core
The web app is not a re-implementation. It compiles the exact same C# core sources to a .NET browser-wasm assembly. These are the sources that SheetForge's own tests run outside Unity.
There is no second copy of the parser or validator, so the browser and the editor can never drift apart. A rule fixed once is fixed in both places.
Two things follow from that design:
- Your compiled plugin DLLs load unmodified. They light up the same slots in the browser as in the editor. See One plugin, two hosts.
- The sheet-syntax rules on this site hold identically in the browser.
Markers, the type system, @overlap, @style, @enum, @loc and reference integrity all behave the same way, because the same code answers. That includes IntId@Tab and LocRef@Tab parity. Sheet syntax describes the rules.
Download and caching
The browser downloads the assembly once, on a first visit, and reads it from the browser cache on return visits. The same holds for the app's own script files.
Both carry a content hash in their name. A new release changes the name rather than invalidating the cache.
One plugin, two hosts
A plugin does not have a "web subset". Both hosts assemble plugins with one pure Core function. It covers instantiation, ordering, isolation of plugins from each other and the compatibility gate.
Only discovery differs. Unity indexes the project's types, while the browser scans the assembly you uploaded.
The twelve slots
The twelve slots a plugin can fill are the same on both sides. The first row of the table covers two of them, enums and cell parsers. Wrapper types register with the cell parsers.
| Slot | In the browser |
|---|---|
| Enums · cell parsers · wrapper types | Cells parse, validate and round-trip through your own notation |
| Domain validators | Your rules appear in Problems beside the core ones |
| Edge contributors | Links buried in your notation are drawn on the canvas and counted in the reference index |
| Structural markers | Your @marker rows are accepted and validated |
| Sheet templates | Your templates appear in Create sheet |
| Canvas overrides | Virtual nodes, extra edges, layer and display hints |
| Code registries | Keys that live in code stop being drawn as broken references. The sidebar's Code group opens each registry read-only, in key, label and raises columns |
| Color presets | Mapped onto the app's CSS variables |
| Declarative studio UI | Your actions, panels, column badges and cell-editor hints, rendered in React |
| UI strings | Your labels follow the user's language through the same overlay t() consults |
| Pipeline observers | Notified at the end of an import cycle, exactly as in the editor |
Declarative studio surfaces
The declarative surfaces are the reason a plugin's authoring extensions exist in the browser at all. A contract that handed back a UIToolkit element could never load in a browser.
So the shell is described as data: an id, a label key, a placement, a tone. Each host draws it with its own widgets.
Where a plugin needs something the vocabulary cannot say, it registers an editor-only rich panel under the same id. The editor draws that one, the browser draws the declarative one, and the extension is never missing.
Two rules hold at render time. Text arriving from a plugin is escaped. An action whose situation changed since it was drawn answers with a no-op instead of acting on a stale id.
The compatibility gate
A plugin assembly may declare which generation of the plugin format it was built for. If that generation falls outside what this host reads, the whole assembly is refused with a readable reason rather than half-loaded.
It is the same gate, reading the same declaration, on the market path, the sideload path and a local file. Declare compatibility describes the declaration.
What stays in Unity
Codegen and baking remain a Unity-only responsibility. The browser cannot emit .cs files or write ScriptableObjects.
Localization tables
A localization sheet is fully authored and validated in the browser. Synchronizing Unity Localization String Tables is the editor's job, because the browser has no Unity project to write tables into. Localization sheets describes those sheets.
Project assets
Every feature that needs the project itself is editor-only:
- The asset picker
- Drag-and-drop from the Project window
- The Addressables registrations that the picker and the drop stage
The three asset cell types (AssetRef@Group, ResourceRef, DirectRef) are text in the browser. The editor's import checks whether the asset exists, and whether the project's delivery mode allows the type.
The <Type> of AssetRef@Group<Type> is parsed and shown in the browser. It is resolved and type-checked only where the project's types are loaded.
The editor's asset thumbnails, enlarged previews and audio playback have no web counterpart, because the browser has no project assets to read. An asset cell in the web grid is its address text.
What the web app outputs
The web output is the reflected sheet, which is the validated, round-tripped source. It is not baked assets.
You author and validate in the browser, then run an import in Unity when you want strongly-typed classes and baked SOs. The sheet is the single source of truth either way, so the two surfaces meet at the sheet.
Next steps
- What the web app does
The features of the web app, area by area.
- Web plugin market
Install and sideload plugins in the browser.
- Web Google Sheets access
Read and write sheets from the deployed site.
- Sheet syntax
The rules the browser core enforces, unchanged.