Skip to content
SheetForge

Structure and staging limits

What the Data Studio refuses or restricts when you edit structure, rename tabs and keys, and stage edits. Each entry says what happens, why, and what to do about it.

Every edit in the Data Studio is staged first, then written to the source by a reflect. How an edit reaches the sheet explains that cycle. If you know the Workbench window from an earlier version, see The removed Workbench window.

Keyless and empty sheets

Tabs with no key column

What. A tab without a RecordId key column imports and displays normally. Structure editing works fully: adding, removing, renaming and reordering columns and markers, plus the sheet-level rename and delete.

What the tab cannot gain is a new record, because a record with no key cannot be named or referenced:

  • The add-row control is disabled.
  • The reference picker refuses to create there ("… has no key column, so a new record cannot be created there").
  • A canvas action or a node inspector action that tries to write into the tab does nothing.

Value cells are editable. With no key to address the row by, the edit is staged against the row's position only.

Why. Every staged edit is normally addressed logically, as (tab, record key, field). The address is resolved again against the sheet just before the edit is written. That lets an edit survive a re-import, a row reorder, or someone else inserting rows above it.

With no key column there is no such address. The edit passes through pinned to a row number instead, outside that safety net.

Caution

A position-anchored edit can land on the wrong row if the sheet's rows move underneath you before you write back. A re-import can move them, and so can someone editing the source directly. Stage and reflect these edits in short batches.

Workaround. Add a RecordId column, then reflect. Structure editing is available, so you can do it in the same window. The tab becomes fully authorable, with the logical anchor back in place.

Keyless tabs remain valid to import. This is an authoring limit, not a schema limit.

Sheets with no table yet

What. When a tab has none of the three required markers and no data row, such as a brand-new sheet that holds only comments or an @style line, it is skipped, not imported. It is skipped with an EmptyTabSkipped warning. It does not fail the import on three missing markers.

The tab's already-generated code, baked asset and address are preserved. They are not cleaned up as if the tab were deleted. Export and Push skip the tab symmetrically, because the import, Export and Push all ask the same predicate.

Why. One unfinished sheet must not be able to stop every other tab from importing. An author usually creates the sheet before its header row.

Boundary. A half-written sheet, with any required marker present, is not skipped. It fails, because silently skipping it would hide real work.

A sheet typed from column A rather than column B is likewise handed to the parser. Its real diagnostic survives: "column A is the marker column, data starts at B".

Renames

Column rename and @type change

What. Renaming a column or changing its @type changes the name or type of the generated field. Game code that references the field breaks and must be updated by hand. The change is irreversible after the reflect: Ctrl+Z works only before it.

Column values are fully preserved. Only marker cells change.

Why. The field is part of the generated schema, and the schema is strongly typed. A compile break is caught by the safe abort of the automatic import chain, which leaves an actionable sentence.

Workaround. The confirmation dialog warns first. Update your code and let the next import resume.

Tab rename

What. A tab rename has the same consequences as a column rename. The generated class name changes, for example from FooDatabase to BarDatabase. Game code that references the class breaks, and the rename is irreversible after the reflect.

The re-import handles all asset-side cleanup automatically: the old class, the baked ScriptableObject (SO) and the address.

Swap and cyclic tab renames

What. Mutual and cyclic tab renames are supported. A swap is Alpha→Beta together with Beta→Alpha. A swap, or a longer cycle such as A→B→C→A, can be staged and reflected in one batch.

Staging either half first works. The tab bar shows the exchanged names immediately, and the change is undoable.

The UI check only requires the final set of names to be unique. It rejects only a real conflict, which is two renames that target the same name. The reflect enforces the same rule strictly.

References. References follow the data, which is the tab identity, not the name. After an A↔B swap, RecordId@A is atomically rewritten to RecordId@B. The rewrite is single-pass and never double-applied. The reference keeps pointing at the same data, which moved to B.

Local sources. A swap exchanges the contents of the two files in a single write pass. A chain that reuses a name across a different extension deletes the stale old-extension file (a guard that deletes by path only), so the re-import never sees a duplicate tab.

Google sources. Title changes are topologically ordered. Any cycle is broken with a temporary title (A→tmp, B→A, tmp→B), so the live sheet never holds a momentary duplicate title.

Limit. On Google, if a title change fails mid-sequence, the tab left under a temporary name is reported with recovery guidance.

Swapped tabs that reference each other

What. This edge exists on Google sources only. It applies when the two swapped tabs reference each other: tab A has a RecordId@B column and tab B has a RecordId@A column.

The Google path preserves the content of both tabs through the in-place title change. It does not rewrite their own @type cells. So that mutual self-reference is not repointed on Google.

Why. On Google, a tab rename changes only the tab's title and leaves its content untouched. Rewriting the renamed tab's own grid would give up that in-place rename.

Local sources rewrite the renamed tab's projection, which is its baseline with the staged edits applied, so a local source handles this case fully. References from a third tab are repointed on both paths.

Workaround. On Google, route the mutual reference through a third tab, or reflect the swap through an intermediate name.

Key rename propagation

What. Key-rename propagation covers baseline cells only. Text that you typed in the same batch and that references the old key is not rewritten automatically.

Why. Silently rewriting your fresh input is forbidden. The pre-flight catches the dangling reference instead.

Workaround. Fix the staged reference yourself, or reflect the rename first.

Problems during a staged key rename

What. While a key (RecordId) cell has a staged edit, the Problems panel carries a draft badge. Unresolved-reference entries in the panel may be false alarms.

Why. The in-memory preview does not apply key-rename propagation. Propagation runs at reflect time, across every tab. The window neither hides the diagnostics nor fakes the propagation. It tells you that the list is a draft until the rename is written.

Workaround. Reflect the rename, then read the refreshed list. Propagation runs with its own confirmation.

Staged edits

Isolated staged edits

What. A staged edit is isolated when its row changes outside the Studio between staging and reflect, so that the edit can no longer find the row. Isolated edits lists the changes that cause it.

An isolated edit is excluded from the reflect. The toolbar counts it in the isolated badge.

Why. The logical address of the edit cannot be resolved again. The edit is neither silently dropped nor allowed to block the session.

Workaround. Discard the edit individually, after a confirmation, and stage it again.

The staged-value overlay

What. The overlay that previews staged values on SOs (EphemeralSoApply) has no button in the Data Studio. The type remains public API for a tool that wants it.

The test edit toggle of the SO inspector covers the everyday case of trying a runtime number.

Limit. If you do call the overlay, it declines pending or new columns, and it declines parse-failure cells. Each declined item gets a badge. New rows are supported.

Because the overlay reuses the real parse and bake path, it declines what it cannot truthfully compute rather than faking it.

Workaround. The overlay is only a preview. Reflect normally for the real change. A re-import always restores the truth.

Sheets that failed validation

What. A sheet that failed validation opens for editing. If the source was read completely, its sheets are saved as the baseline even when validation failed, so the Studio can open them and you can fix the errors in place.

Code generation and baking do not run until the error count reaches zero. While the sheet is in that state, Export, Push to the live sheet, and player builds are all refused. Each one says why.

Why. Those three exits all combine the last successfully baked values with the newer sheets. Running one now would splice stale values over cells that someone has already corrected. That is a silent rollback. Because those exits are blocked, the sheet itself can stay open for import and editing.

Reflecting a fix. Reflecting a fix asks once. On a quarantined sheet, the write-back shows an extra confirmation, because the sheet already has errors and pre-flight cannot be the hard gate there.

Everything found is reported as a warning in that reflect. The automatic re-import validates the whole sheet again.

Healthy sheets are unaffected. There, pre-flight still refuses to write.

Workaround. Fix every reported error and import again. The block lifts by itself at the one place that clears it: a run that completes through bake.

Next steps