Troubleshooting
Each entry gives the message or symptom, then the cause and the fix. Can't find your problem? States at a glance explains what each badge means.
Pull requests
"A record has no name, so it can't be committed"
Stoatly names each record file after the record's slug, which comes from its name. Open the record, give it a name and try again.
A record has data for fields that aren't in the schema being committed
You edited a record using a field that hasn't reached the repository yet, so sending only the record would lose that value. Include the field's definition in the same pull request, or merge the pull request that adds the field first. See Create a pull request.
A pull request says Needs attention
Open it for the reason. The usual causes are someone pushing to its branch outside Stoatly, a pull request it was stacked on being closed, and changes that no longer apply after a merge. Each has a button that fixes it. See Manage pull requests.
Changes I made show "No longer applies"
A pull request that merged after you edited made your change impossible, for example by deleting the record or removing the field. Review it on Your changes, then acknowledge it. See When a pull request merges.
My new record has the same name as a record in the repository
Committing it would overwrite the other record. Open Your changes and choose to rename yours, use theirs or discard yours.
A pull request was closed and my changes are missing from the list
They are waiting under Closed pull requests on Your changes. Keep them or discard them. See Closed pull requests.
Formulas
"Cannot save. Fix the following"
The banner lists the problems. The usual ones are a missing name or slug, text that can't be parsed, and an empty slot in a block formula. Fix each and save again.
"Cannot read this Formula"
The text has a mistake, such as a missing bracket or a name that doesn't exist. The message says what it found. Check that field names match the keys shown in the palette. See Formula operators and functions.
A runtime formula doesn't appear in my code
If Stoatly can't work out what type the formula returns, it can't generate a method for it. Make sure the result has one clear type. See Formula types.
A formula field shows Stale
A recent merge may have changed the values it reads, and Stoatly is recalculating. It updates shortly.
Your game
My code stopped compiling after a schema change
Generated code follows the schema, so a deleted field, a renamed enum value or a renamed formula can break code that used it. See Keep your code working.
Load returns null
There's no record with that slug in that object type. Check the slug in Stoatly, and that the pull request that adds the record has merged and reached your project.
A warning about a blocking load
You're using Addressables and asked for a record before its data was loaded. Call PreloadAsync() for the type during a loading screen. See Load data in your game.
Nothing loads with the Resources loader
The data folder must sit inside a folder named Resources. The Unity settings warn you when it doesn't. See Unity settings.
The project overview says my repository is out of sync
The folders in your repository no longer match the Unity settings. Open the settings and apply them. Stoatly opens one pull request that brings everything in line.
Limits and restores
"You've reached your plan's record limit"
Your plan limits records in each object type. The same applies to object types in a project. See Plan limits.
A conversion, split or move is blocked
The dialog says why, in red, and the button stays disabled. A common reason is that records involved are part of an open pull request. Wait for it to merge, or take them out of the change. See Convert an enum, Split an object type and Move records.
History won't restore a value
The message gives the reason. You may have unsaved changes on the record, the field may no longer accept that value, or the record may no longer exist. See Look back and restore.
Imports
Every imported row is marked invalid
Check the column mapping. A required field with no matching column makes the rows that miss it invalid. See Import records.