Setup and first run
Answers about installation, the first import, the demos, several settings assets and builds.
Addressables and delivery modes
Use SheetForge without Addressables
SheetForge works without Addressables. The settings asset's Asset delivery dropdown offers three delivery modes, which decide how baked databases reach the game. Only Addressables (recommended) needs com.unity.addressables.
A project on the Resources folder or Scene catalogue (no Addressables, no Resources) mode imports, builds and loads with no Addressables package at all. The scene catalogue mode uses no Addressables and no Resources.
Those two modes do not allow AssetRef@Group cells. Use ResourceRef or DirectRef cells there. Cell types and delivery modes lists the asset cell types each mode allows.
Game code is the same in every mode. It uses one SheetForgeDatabases.LoadAsync call and one handle type.
The Resources demo is a complete example with no Addressables anywhere. Import it from the Getting Started window's Try an example section. It imports beside a workbook that delivers through Addressables, because each workbook picks its own mode and the runtime routes loads by tab name. See Resources demo.
Import is locked without Addressables
Symptom. Every entry point shows an install notice and stops: import, Export, Push and reflect. There is no partial run.
Cause. What is locked is the Addressables mode, which is the default for a new settings asset. Address loading and the AssetRef@Group type need com.unity.addressables.
SheetForge itself compiles without Addressables. The code that uses Addressables is guarded behind a SHEETFORGE_ADDRESSABLES version-define.
Fix. Choose one of two ways out.
- Install
com.unity.addressablesfrom the Package Manager. The Getting Started window's delivery row has an Install… button. - Switch the workbook to the Resources or scene catalogue mode and re-import. The notice stops appearing once no workbook in the project needs the package.
The Getting Started window runs normally instead of being blocked by Safe Mode, because SheetForge's editor code compiles without the package.
If compile errors remain after installing, they come from other code in the project. SheetForge compiles both with and without the package.
First steps
The Getting Started window opens by itself
Symptom. A window opens by itself when the Editor starts.
Cause. That window is the Getting Started window. It opens once per editor session for as long as its Show this window when the Editor starts toggle is on, which it is by default. Open the window gives the details.
The window is the recommended entry point, and it puts these in one place:
- The delivery mode's readiness
- Choosing the active workbooks
- Importing an example
- Running your first import
Fix. To stop the window opening, turn off that toggle at the bottom of the window. Reopen the window any time from Tools ▸ SheetForge ▸ Getting Started.
Point SheetForge at a folder of sheets
If you already have a folder of sheets, open the Data Studio and drag the folder from the Project window onto it. A single .tsv, .csv or .xlsx file works too.
The Create import settings dialog offers to create an import settings asset that reads from that folder and to make it active. You enter no fields by hand. If you already have active settings, the dialog says so and offers to switch. See Drop a folder or a file.
Check the project setup
To check that the project is set up correctly, or to find out why an import won't run, click the last-import status at the right end of the Data Studio's status bar and pick Health Check. The check makes no network call.
It prints five lines to the Console, one per check. The last one, on the SheetForge group, applies only when a workbook uses the Addressables mode. Each line shows ✓ when the check passes, ✗ with a suggested fix when it fails, or a dash when the check does not apply. A summary dialog says how many checks need attention.
Run a health check lists what each check looks at.
The UI opens in an unexpected language
On a project's first open, SheetForge sets its UI language from your Editor's system language. Nine languages map. Any other system language gives English. SheetForge never overrides a language you set yourself.
Change the language any time with the Data Studio toolbar's language picker, or in its ⚙ Settings. Changing it triggers one short recompile, because the menu labels are regenerated. See Change the language.
Create sheet lists only built-in templates
Symptom. The Create sheet list shows two templates and the entry for starting from scratch, and nothing else.
Cause. Those are the built-in entries. The templates are Item example (core types only) and Enum definitions. The second one lays out an @enum sheet.
Domain templates that need a plugin are registered by that plugin, so they appear only when the plugin is present. The Skill demo template is one of them.
Fix. Import the Plugin Demo package, and its Skill demo template appears. To ship your own template, implement ISheetForgeTemplatePlugin. See Create sheet templates.
Demos
A demo package does nothing after import
Symptom. You imported a demo package, and you see no settings asset and no addressable group.
Cause. Importing a package bakes nothing. The databases are baked, and published the way the demo's mode requires, only by the first import on your machine.
Each demo package bundles a pre-configured settings asset. Importing the package auto-activates that asset, but only when you have no active settings of your own. If you already have active settings, the Getting Started window opens to suggest switching. It does not silently change your setup.
Fix. Press ↓ Import in Tools ▸ SheetForge ▸ Data Studio once. That import publishes each demo's databases:
| Demo | Published as |
|---|---|
| Plugin demo, Core demo | An addressable group |
| Resources demo | A Resources folder |
The whole flow is: import the package, which auto-activates the settings, then run the import, then Play. See Run a demo.
The demo scene shows only a text message
Symptom. The demo scene shows a text message instead of the demo.
Cause. The demo loads its baked databases through SheetForgeDatabases. They exist only after one import on your machine. Baked data is a non-committed cache that the next import rebuilds, and so is the Addressables group of the demos that use one.
Fix.
- Import the demo package. Its settings are auto-activated.
- Press Run Import in the Getting Started window once.
See Run a demo.
The demos' committed types use the default SheetForge.Generated namespace, so no generatedNamespace setting is needed. Re-import regenerates the types in place.
The plugin demo fails with UnknownAssetGroup 'Scripts'
Symptom. The plugin demo's first import fails with UnknownAssetGroup 'Scripts'.
Cause. The plugin demo has a script column typed List<AssetRef@Scripts>. That type needs an Addressables group named Scripts. Addressables groups are per-machine and not committed, so a freshly imported demo doesn't have the group yet.
The demo auto-configures that group on import, so a normal import works. PluginDemoAddressableSetup does the setup, on domain reload and when you open the demo scene.
Fix. If you still see the error:
- Reopen the demo scene with Tools ▸ SheetForge ▸ Open Plugin Demo Scene. This triggers the setup.
- Re-import.
This applies only to the plugin demo. Your own AssetRef@… groups are ones you register yourself.
Several settings assets
Which settings assets an import uses
An import uses every settings asset in the active set, as many as you tick.
- ↓ Import in the Data Studio toolbar imports every active workbook in dependency order.
- The Data Studio shows the workbook you opened, or all active workbooks together. The Data Studio view choice in ⚙ Settings decides which. See Choose a Data Studio view.
Tick the assets in the Getting Started window, in the Data Studio's workbook menu, or in an asset's inspector. The workbook menu is shown only when several workbooks exist. At least one workbook stays active.
With a single settings asset, the first import auto-selects it.
The choice is stored per project and per user as an EditorPrefs setting, so it causes no VCS churn. The active set describes the three places and what happens when an active asset is deleted.
⚙ Settings also decides where the workbook list, the other-workbooks tabs and the workbook map appear, and how a workbook's short name is built. See How workbooks are named.
A cross-workbook reference reports UnknownTargetTab
Symptom. A sheet in one workbook references a tab in another workbook, and the import reports UnknownTargetTab.
Cause. No workbook owns a tab of that name yet.
The reference itself is allowed. Every reference kind may point into another workbook with the ordinary notation: RecordId@Tab, IntId@Tab, LocRef@Tab, Enum<Name>. Tab and enum names are unique project-wide, which makes this possible.
Fix.
- Import the owning workbook once, so that its snapshot exists. Pull every workbook does every workbook in the right order.
- Import your workbook.
A ReferenceTabUnverified warning has a different cause. The owning workbook's last import could not be read, or it had errors of its own. Import the owning workbook again first.
Export is refused for broken workbook references
Symptom. Export is refused, and the message says that references into workbook X are broken. The same reason stops Push and player builds.
Cause. An import of workbook X changed or removed something this workbook points at: a record key, a tab or an enum member. The recheck that follows every import found it and put a block on this workbook.
Fix.
- Fix the references. The Studio shows them in Problems, with X's tabs read-only in Other workbooks.
- Reflect the fixes to write them to the source. See How an edit reaches the sheet.
- Import this workbook again.
The block lifts by itself. The block that follows describes what it stops.
Two workbooks are imported together
Symptom. The Console says that two workbooks are being imported together.
Cause. The import changes an enum whose old identity another workbook's generated code still uses. Such a change is a rename, a moved namespace or folder, a changed member value or a changed underlying type.
Generating one workbook without the other would break compilation, so both are validated, generated and compiled in one cycle.
If the import stops with HeldByCoupledWorkbook, the other workbook's sheet still uses the old name.
Fix.
- Rename the enum in the other workbook too, or restore the enum's old name. The Studio's rename propagation does the rename for you.
- Import again.
See Joint import.
Updates, clones and builds
The project stops compiling after an update
Symptom. You updated to a newer version, and the project doesn't compile.
Cause. A .unitypackage import adds and updates files but never deletes them. A file that SheetForge retired in a later version can linger and reference an API that no longer exists.
Fix. Approve the dialog that appears at editor load. Compilation recovers.
At editor load, the dependency-free SheetForge.Setup bootstrap detects the known retired paths and offers to delete them. It lists every path before touching anything. The bootstrap lives in its own assembly, so it keeps working while the main assemblies are failing.
To skip the prompt entirely, delete the Assets/SheetForge folder before importing the new package.
The cleanup does not cover your own code written against a contract that has since been retired. Port that code by hand, using the tables in Upgrading from a pre-release. Upgrade from a previous version summarizes the graph contract table.
Scene references to baked SOs are Missing
Symptom. You cloned the repository, and your scene references to baked SOs are Missing.
Cause. Baked SOs are per-machine caches, so a fresh clone has none until an import runs. In 1.1.0 and later, a baked database's GUID is derived from its tab name, so a reference made on one machine resolves on another after that machine has imported.
Fix. Run an import once to rebuild your local cache.
Load through SheetForgeDatabases.LoadAsync("Tab") all the same, because that call keeps game code identical across the three delivery modes. Reference directly only what the product asks you to: the scene catalogue mode's catalogue asset. See Address loading.
A build is aborted with a SheetForge message
Symptom. A player build stops with a SheetForge message that says what to do.
Cause. The pre-build freshness hook aborted the build. It protects you from shipping an empty or stale cache. Build freshness hook lists what it checks.
Fix. Do what the message says: press ↓ Import in Tools ▸ SheetForge ▸ Data Studio. Then build again.
In the scene catalogue mode, the hook also refuses a build whose catalogue asset is missing. After the import, if the field went empty, drag the rebuilt catalogue onto the SheetForgeCatalogProvider again.
Next steps
- The Getting Started window
The recommended entry point for a new project.
- Try the demos
Import a demo package and play its scene.
- Choose a delivery mode
Compare the three modes and install Addressables.
- Several workbooks
The active set, cross-workbook references and joint imports.