Skip to content
SheetForge

Upgrade from a previous version

A package import never deletes files, so an upgrade can leave retired files behind. This page shows how to clean them up, what to port by hand, and where the removed Workbench window's features went.

Why an upgrade can break compilation

A .unitypackage import adds and updates files but never deletes them. A file that a newer version retired can linger in Assets/SheetForge, still referencing an API that no longer exists. Compilation breaks, and it looks like the upgrade broke your project.

Two remedies exist. The automatic cleanup deletes retired files for you, and the clean-slate upgrade removes the whole product folder first.

Automatic cleanup

At editor load, SheetForge checks for the paths this product has retired. If it finds any, a dialog lists every path and offers to delete them. Nothing is touched until you approve.

The automatic cleanup deletes SheetForge's own retired files, never yours.

Why the cleanup still runs when the project does not compile

The check lives in the SheetForge.Setup bootstrap, which has no dependencies. It lives in its own assembly so that it survives the compile errors it exists to fix.

Upgrade with a clean slate

Use this path for a guaranteed-clean upgrade.

  1. Move everything you put inside Assets/SheetForge yourself out of that folder.
  2. Delete the existing Assets/SheetForge folder.
  3. Import the new package.
  4. Run Run Import once to rebuild what the deletion took with it.
Caution

No re-import can rebuild what you put inside Assets/SheetForge yourself: a settings asset saved there, your own plugin scripts, sheet files. Move that out first.

What the deletion touches

ItemLocationResult
Settings assetsOutside Assets/SheetForgeUntouched
Baked SOsAssets/SheetForgeBakedUntouched
Generated code at the default locationAssets/SheetForgeGeneratedUntouched
Generated code at the older in-product locationAssets/SheetForge/Runtime/GeneratedRemoved

If your project still generates into the older in-product location, the re-import writes the code to Assets/SheetForgeGenerated instead. That is the supported way to move an existing project to the new location.

Port retired plugin contracts

If your own plugin code implements a contract that has since been retired, it has to be ported by hand.

ContractWhat to do
IGraphShapeBuilder / GraphSpecBuilderPort to IRecordCanvasAugmenter / CanvasAugmentBuilder
GraphModeGone. Direction is now the canvas's own control
StudioGraphContext.ShapeId / ModeIdDelete any AppliesTo comparison against them
IAuthorableGraphShape.CreatableTabsUnchanged

A per-tab graph builder becomes the record canvas's augmenter. The augmenter adds to what the canvas already assembled, the record and what it links to, instead of building the whole picture.

StudioGraphContext.ShapeId and ModeId still compile, but each returns a constant.

Retired members that still compile are marked [Obsolete] rather than removed. An upgrade surfaces them as warnings instead of breaking the build.

Upgrading from a pre-release has the full tables of what each retired contract became.

The removed Workbench window

There is only one editing window. The original IMGUI Workbench window is removed, and the Data Studio does everything it could do.

The Workbench shared the Studio's authoring session, its compose and validation engine, and its reflect path. Nothing behavioral was lost. The three things that the Workbench alone offered were moved elsewhere before it went.

Workbench featureWhere it lives
The All (search everything) tab, cross-sheet search with pagingThe All (search everything) entry at the top of the Studio sidebar. Same search, same page size
Drag-and-drop onboardingThe Studio itself takes the drop. See Drop a folder or a file
The Google gid autofill and live tab list panelThe settings asset's inspector, under Google Sheets

One capability was dropped, not moved: the Workbench's button that applied staged values to the baked SOs as a preview. The SO inspector's test edit toggle covers the same need. Try values on a baked asset describes test edit.

If you have code or notes that point at the Workbench, there is no menu entry to update, because it never had one. The settings inspector, the baked-SO inspector and the Getting Started template gallery all open the Data Studio.

Upgrade from 1.0.0 to 1.1.0

Upgrading from 1.0.0 to 1.1.0 changes two things that your own code and scenes may notice. The full table is in Upgrading from 1.0.0.

The upgrade also retires two product files: the docked market window and the localization bridge's preferences page. Their content now lives in the Data Studio's market dialog and in its ⚙ Settings dialog. The automatic cleanup lists both paths and offers to delete them.

The cleanup also deletes a stale copy of the generated menu file that still calls a retired window, without asking, because that file is output, not yours. The product writes the menu file again as soon as the editor assembly compiles.

The load handle

SheetForgeDatabases.LoadAsync now returns SheetForge's own SheetForgeLoadHandle<T> instead of an Addressables AsyncOperationHandle<T>. Rewrite code that used the old handle against the new one.

Code thatBecomes
Read .Taskawait
Compared Status against AsyncOperationStatus.SucceededStatus == SheetForgeLoadStatus.Succeeded
Handed the handle to Addressables.ReleaseRelease()

Load the data shows the shape.

Baked database GUIDs

Every baked database asset is now given a GUID derived from its tab name. The GUIDs change once, on the first 1.1.0 import.

ReferenceResult
An Addressables entryRe-linked automatically
An AssetReference field baked from an AssetRef cellUnaffected, because it points at your assets
A scene or prefab field that pointed at a baked database directlyHas to be re-pointed once

Next steps