Skip to content

Save and load problems

Every save, load, delete and capture answers with a status. A save or load can also carry problems, each with a code. This page lists all 78 statuses and all 69 codes in one place. Look one up by name. The objects that hold them, and how to read a load, are on Save and load results.

  • A call came back with Ok false and you want to know what its Status means.
  • A load report lists a code such as MissingClan. You want to know what it did to your game.
  • You write code that tests a status or a code, and you want the exact names, the numbers and the line of the code that declares each one.

A status is the answer of one call. A problem code is a finding inside a save or a load. A load can say Ok and still carry problems, so read both, and when your own code reacts to a problem, test the code and not the message, because a code never changes after release and a message may be reworded.

The Number column is the value of the enum member. Source is the line that declares it, in the package’s Runtime folder. Meaning is the code’s own summary. Where it says (information), that is the code’s own word. The severity of the other problems is set where the code raises them, so the tables do not list it.

Each status row has an anchor made of the enum and the name, such as #loadstatus-nodata. Each code has #code- and its name, such as #code-nodata. Use them to link to one row.

Storage statuses are the answers of a save storage. They are also on Your own storage.

ValueNumberMeaningSource
Ok0The save was written (it may still carry warnings; see the problems).Save/Slots/SlotTypes.cs:277
RefusedOffHost1This machine is a multiplayer client: only the host saves. Nothing was written.Save/Slots/SlotTypes.cs:279
NotMainThread2Asked from another thread than the main thread. Nothing was written.Save/Slots/SlotTypes.cs:281
NoSaveSystem3There is no Save System in the scene (it runs the slot operations' work on the main thread). Nothing was written.Save/Slots/SlotTypes.cs:283
InvalidSlot4The slot's name is not a valid storage key. Nothing was written.Save/Slots/SlotTypes.cs:285
Busy5Another slot operation runs and the settings refuse a second one (Refuse). Nothing was written.Save/Slots/SlotTypes.cs:287
LoadRunning6A load is running (a slot load, or a load across scenes that waits for its actors). Nothing was written.Save/Slots/SlotTypes.cs:289
CaptureFailed7The game could not be captured (see the reason and the problems). Nothing was written.Save/Slots/SlotTypes.cs:291
EncodeFailed8The captured game could not be turned into the bytes of a save. Nothing was written.Save/Slots/SlotTypes.cs:293
WriteFailed9The storage could not write the save; the slot's earlier save is unchanged.Save/Slots/SlotTypes.cs:295
NewerSaveInSlot10The slot holds a save of a newer version of Intrigues and OverwriteNewer was not set. Nothing was written.Save/Slots/SlotTypes.cs:297
AutosaveOff11Autosave is off (AutosaveSlots is 0). Nothing was written.Save/Slots/SlotTypes.cs:299
Cancelled12A new game started (or the world was cleared) after the save was asked. Nothing was written.Save/Slots/SlotTypes.cs:301
Stopped13The Save System was switched off or destroyed while the save waited; a write in flight may or may not have reached the storage.Save/Slots/SlotTypes.cs:303
InvalidParts14A partial save (Parts) that cannot be written: no part, an Intrigues key, a part not registered or writing nothing, an autosave or a save to the current slot. Nothing was written.Save/Slots/SlotTypes.cs:306
SecretRefused15The save holds a secret save part and there is no password for it (SecretProtector), or the password is the one Intrigues ships with. Nothing was written.Save/Slots/SlotTypes.cs:309
InsideNode16The save was asked while a node of a scheme ran and that node did not return within the frames a save waits (CaptureInsideNode): saved there, the node would run again on load. Nothing was written.Save/Slots/SlotTypes.cs:315
ValueNumberMeaningSource
Ok0Loaded (it may still carry warnings or data loss; see the problems).Save/State/SaveResults.cs:404
RefusedOffHost1This machine is a multiplayer client: only the host loads. Nothing changed.Save/State/SaveResults.cs:406
NoSaveSystem2There is no Save System in the scene. Nothing changed.Save/State/SaveResults.cs:408
NoData3No save data was given. Nothing changed.Save/State/SaveResults.cs:410
Incomplete4The save misses lists a game needs. Nothing changed.Save/State/SaveResults.cs:412
OldFormat5The save was written by an older version of Intrigues. Nothing changed.Save/State/SaveResults.cs:414
ManagerRefused6The Intrigue Manager refused the world (no manager, or a client). Nothing changed.Save/State/SaveResults.cs:416
Aborted7The load stopped at the first failing item (Abort); the world is half loaded.Save/State/SaveResults.cs:418
Failed8The load threw outside a guarded step; the world may be half built. See the problems.Save/State/SaveResults.cs:420
Busy9A save, capture or load is running (this was asked from one of its listeners): refused, nothing changed.Save/State/SaveResults.cs:422
NotMainThread10Asked from another thread than the main thread: refused, nothing changed.Save/State/SaveResults.cs:424
AlreadyRestored11This checked data was restored already; stage it again for another load. Nothing changed.Save/State/SaveResults.cs:426
NotFound12A slot load: nothing is stored under the slot. Nothing changed.Save/State/SaveResults.cs:428
ReadFailed13A slot load: the storage could not read the slot (see the reason). Nothing changed.Save/State/SaveResults.cs:430
Damaged14A slot load: the save is not an Intrigues save, or it is cut off or damaged (see the reason). Nothing changed.Save/State/SaveResults.cs:432
PasswordRequired15A slot load: the save is encrypted and the slot manager has no password for it. Nothing changed.Save/State/SaveResults.cs:434
WrongPassword16A slot load: the save is encrypted and the password does not open it. Nothing changed.Save/State/SaveResults.cs:436
NewerFormat17A slot load: the save was written by a newer version of Intrigues that this version cannot read. Nothing changed.Save/State/SaveResults.cs:438
InvalidSlot18A slot load: the slot's name is not a valid storage key. Nothing changed.Save/State/SaveResults.cs:440
Cancelled19A slot load: a new game started (or the world was cleared) after the load was asked. Nothing changed.Save/State/SaveResults.cs:442
NoScene20A slot load with FromSave: the save's header names no scene. Nothing changed.Save/State/SaveResults.cs:444
Stopped21A slot load: the Save System was switched off or destroyed while the load waited. Nothing changed (unless its restore had begun; see the report).Save/State/SaveResults.cs:446
Unprotected22A slot load: encrypted saves only are accepted (AcceptUnprotected off) and the save is not encrypted. Nothing changed.Save/State/SaveResults.cs:448
Partial23The save is a partial save (some of your save parts only): it is loaded with RestoreParts or a slot load, never as a whole game. Nothing changed.Save/State/SaveResults.cs:450
NoWorld24A partial load: no Intrigue Manager runs a world to load the parts into. Nothing changed.Save/State/SaveResults.cs:452
UnknownPart25A partial load: the save holds a part this game has not registered (IntrigueSave.Register). Nothing changed.Save/State/SaveResults.cs:454
NotPartial26RestoreParts was given a save that is not a partial save. Nothing changed.Save/State/SaveResults.cs:456
Reverted27The load failed and the game was put back in the same scene as it was before the load (RevertSameScene): the save was not loaded. NotReverted lists what was not undone; the report holds why it failed.Save/State/SaveResults.cs:461
RevertUnavailable28RevertSameScene was asked for a load that cannot be put back: a load across scenes or from a file, a load that tells nobody (internal), a world with Actor Home World (parked actors cannot be put back), or a game that could not be captured before the load. The load did not start (nothing of the save was loaded).Save/State/SaveResults.cs:467
ValueNumberMeaningSource
Ok0The slot (and every copy the storage keeps of it) was removed.Save/Slots/SlotTypes.cs:373
NotFound1Nothing was stored under the slot (not a failure: it is gone either way).Save/Slots/SlotTypes.cs:375
RefusedOffHost2This machine is a multiplayer client: only the host deletes saves.Save/Slots/SlotTypes.cs:377
NotMainThread3Asked from another thread than the main thread.Save/Slots/SlotTypes.cs:379
NoSaveSystem4There is no Save System in the scene.Save/Slots/SlotTypes.cs:381
InvalidSlot5The slot's name is not a valid storage key.Save/Slots/SlotTypes.cs:383
Busy6Another slot operation runs and the settings refuse a second one.Save/Slots/SlotTypes.cs:385
Failed7The storage could not delete the slot.Save/Slots/SlotTypes.cs:387
Stopped8The Save System was switched off or destroyed (or the world was cleared) while the delete waited; the slot may or may not be gone.Save/Slots/SlotTypes.cs:389
ValueNumberMeaningSource
Ok0The header is whole and this version can load the save.Save/Slots/SlotTypes.cs:11
Damaged1The save is cut off or damaged (its frame or header does not check out). It cannot be loaded; a storage that keeps a backup may still load that one (UseBackup).Save/Slots/SlotTypes.cs:13
NewerFormat2Written by a newer version of Intrigues that this version can still read: it loads with a warning, and saving over it needs OverwriteNewer.Save/Slots/SlotTypes.cs:15
NeedsPassword3The save is encrypted and the slot manager has no password (no protector of its kind, or one that is not ready).Save/Slots/SlotTypes.cs:17
TooNew4Written by a newer version of Intrigues that this version cannot read.Save/Slots/SlotTypes.cs:19
OldFormat5Written by an older version of Intrigues whose saves this version no longer reads.Save/Slots/SlotTypes.cs:21
NotASave6The slot holds something that is not an Intrigues save.Save/Slots/SlotTypes.cs:23
ReadFailed7The storage could not read the slot (see Reason).Save/Slots/SlotTypes.cs:25
Partial8A partial save (Parts): some of the game's save parts, no game. Not offered to continue (CanLoad is false); a slot load reads only its parts into the running game.Save/Slots/SlotTypes.cs:31
ValueNumberMeaningSource
Ok0The state was captured (it may still carry warnings).Save/State/SaveResults.cs:261
RefusedOffHost1This machine is a multiplayer client: only the host's state is a game's state.Save/State/SaveResults.cs:263
WorldFrozen2A scheme is held by a test run's trace: a test world is never saved.Save/State/SaveResults.cs:265
NoManager3There is no Intrigue Manager.Save/State/SaveResults.cs:267
Failed4The capture threw; see the problems.Save/State/SaveResults.cs:269
Busy5A save, capture or load is running (this was asked from one of its listeners): refused, nothing changed.Save/State/SaveResults.cs:271
NotMainThread6Asked from another thread than the main thread: refused, nothing changed.Save/State/SaveResults.cs:273
InsideNode7Asked while a scheme's flow runs (any code that runs while a scheme's flow runs (a node's Run, Run Code's method, a Signal Receiver, a trigger, Changed, scheme-end, actor or accomplice listener)) and InsideNode is Refuse (the default): refused, nothing changed. That node has not returned yet, so its visit would be saved as waiting and a load would run it again (its effect twice). Capture after it returned (the next frame), or save to a slot: a slot save waits on its own until the node returned (CaptureInsideNode).Save/State/SaveResults.cs:280
ValueNumberMeaningSource
Ok0The call did what was asked.Save/Storage/ISaveStorage.cs:52
NotFound1Nothing is stored under the key (or, for DeleteAsync, there was nothing to remove).Save/Storage/ISaveStorage.cs:54
InvalidKey2The key is not allowed (see IsValid); nothing was touched.Save/Storage/ISaveStorage.cs:56
InvalidArgument3An argument is not usable (no bytes, a size limit below one); nothing was touched.Save/Storage/ISaveStorage.cs:58
TooLarge4The bytes are larger than MaxBytes; nothing was written or read.Save/Storage/ISaveStorage.cs:60
IoError5The disk or the platform refused (no permission, disk full, file in use, ...); the reason says what.Save/Storage/ISaveStorage.cs:62

These are the values of SaveProblem.Code. A ProblemSeverity is Info, Warning, DataLoss or Error. Each problem carries one of them next to its code, and the table below does not repeat it.

CodeMeaningSource
NoDataNo save data was given.Save/State/SaveResults.cs:57
IncompleteThe save misses its actor list, its game data or one of the game data's lists.Save/State/SaveResults.cs:59
OldFormatThe save was written by an older version of Intrigues that this version no longer reads.Save/State/SaveResults.cs:61
NewerFormatThe save was written by a newer version of Intrigues; the fields this version does not know are dropped.Save/State/SaveResults.cs:63
DuplicateActorIdTwo saved actors share one ID; the first one is used.Save/State/SaveResults.cs:65
ActorWithoutIdA saved actor has no ID and cannot load.Save/State/SaveResults.cs:67
MissingParentA saved actor names a parent the save does not hold.Save/State/SaveResults.cs:69
MissingClanA saved actor names a clan the save does not hold; it loads without a clan.Save/State/SaveResults.cs:71
MissingFamilyA saved actor names a family the save does not hold.Save/State/SaveResults.cs:73
MissingRoleA saved actor names a role the save does not hold; it loads without that role.Save/State/SaveResults.cs:75
MissingCultureA saved actor, clan or family names a culture the save does not hold.Save/State/SaveResults.cs:77
MissingOverlordA saved clan stands under a clan the save does not hold; it stands alone.Save/State/SaveResults.cs:79
MissingSpouseA saved marriage names an actor the save does not hold.Save/State/SaveResults.cs:81
OnlyInSaveThe save holds a clan, family, role, culture or policy the database no longer has (it is kept from the save).Save/State/SaveResults.cs:83
OnlyInDatabaseThe database has a clan, family, role, culture or policy this save does not hold (it is not part of this game).Save/State/SaveResults.cs:85
SchemeMissingA running scheme of the save names a scheme the database no longer has: the run is dropped.Save/State/SaveResults.cs:87
SchemeGraphMissingA running scheme of the save has no graph in the database: the run is dropped.Save/State/SaveResults.cs:89
SchemeTargetMissingA running scheme of the save targets an actor the save does not hold: the run is dropped.Save/State/SaveResults.cs:91
VisitDroppedSaved visits of a running scheme name nodes its graph no longer has: those visits are dropped.Save/State/SaveResults.cs:93
VisitKeptSaved visits of a running scheme name nodes its graph no longer has: they are kept as saved (On Missing Node: Keep Parked).Save/State/SaveResults.cs:95
RunEndedForMissingNodeA restored run waited on nodes its graph no longer has and was ended (Failed) (On Missing Node: End Run).Save/State/SaveResults.cs:97
DefinitionAddedToGameA culture, policy or role of the database was not in the save and was added to the loaded game (New Definitions: Add Missing).Save/State/SaveResults.cs:99
VisitTypeChangedA saved visit waits on a node that is now a node of another kind (same ID): dropped by Resume By Port Then Index, else restored as before.Save/State/SaveResults.cs:101
VisitPortMissingA saved visit was starting the links of an output its node no longer has (by key): it goes on with the saved output number.Save/State/SaveResults.cs:103
VisitStateIgnoredA saved visit's state was left out: its node no longer keeps a state (ISavableNode).Save/State/SaveResults.cs:105
VisitStateNewerA saved visit's state was written by a newer version of its node and was left out (the visit restores without it).Save/State/SaveResults.cs:107
VisitStateFailedA node threw while it took its saved state back (the visit restores without it).Save/State/SaveResults.cs:109
VariableDroppedA saved value of a variable the database no longer has (by ID or name): the value is dropped.Save/State/SaveResults.cs:111
DefinitionChangedDefinitions of the database changed after the save was written (their stamps differ; information, a warning for a scheme graph that saved runs wait in).Save/State/SaveResults.cs:113
DefinitionAddedA scheme was added to the database after the save was written (information).Save/State/SaveResults.cs:115
DefinitionRemovedA scheme of the database the save was written with is gone (information).Save/State/SaveResults.cs:117
DefinitionsNotStampedThe save carries no definition stamps: definitions were compared by ID only (information).Save/State/SaveResults.cs:119
StampRulesDifferThe save's definition stamps follow other rules than this version's and were not compared (information).Save/State/SaveResults.cs:121
StampsShortenedThe definition stamps did not fit in the save header: one stamp stands for all schemes, or none was written (information; never a failed save).Save/State/SaveResults.cs:123
SchemeStampsOmittedThe save holds one stamp for all schemes (see StampsShortened): a change of schemes is seen, not which one (information).Save/State/SaveResults.cs:125
RestoreOrderPerActorRestore Order is After All Actors, but a plain file load restores its actors' schemes per actor (information). Only the internal file load of the dev tests can raise it: no public load path is a plain file load any more (slots and RestoreAsync are not), so a game never sees this code.Save/State/SaveResults.cs:131
ActorNotLoadedA saved actor did not load (no object for it and nothing that creates one).Save/State/SaveResults.cs:133
ActorLoadFailedAn actor threw while it loaded; it was skipped and the others loaded.Save/State/SaveResults.cs:135
ActorCreateFailedA saved actor could not be created again; it was skipped and the others were created.Save/State/SaveResults.cs:137
SchemeLoadFailedA running scheme threw while it was restored; it was skipped and the others were restored.Save/State/SaveResults.cs:139
MindLoadFailedThe mind (calendar, thinking state) threw while it loaded; the load went on.Save/State/SaveResults.cs:141
MindSaveFailedThe mind (calendar, thinking state) threw while it was written; the capture has no or a partial mind part.Save/State/SaveResults.cs:143
ListenerFailedA listener of a save event threw; the other listeners were still told.Save/State/SaveResults.cs:145
DayInProgressThe capture was taken while a day's thinking was in progress: the rest of that day does not happen after loading it.Save/State/SaveResults.cs:147
CaptureFailedThe capture threw; nothing was captured.Save/State/SaveResults.cs:149
SaveFailedA save of the Save System was not written (the reason is in the message and was logged).Save/State/SaveResults.cs:151
AbortedThe load stopped at the first problem (Abort).Save/State/SaveResults.cs:153
LoadFailedThe load threw outside a guarded step, or was refused after it was asked for; see the message.Save/State/SaveResults.cs:155
CheckFailedThe check of the save data threw; the load went on without the rest of the check.Save/State/SaveResults.cs:157
ActorNeverAppearedA load across scenes reached its deadline and this saved actor had not appeared (no object in the scene, nothing created one): it is not in the game.Save/State/SaveResults.cs:159
RelationsDroppedA saved actor never appeared: its marriages and parent / child links with actors of the game are not in the game and are dropped from the next save.Save/State/SaveResults.cs:161
NoSceneLoadedA load across scenes waited for a scene that never loaded; it was completed without one.Save/State/SaveResults.cs:163
ActorWakeFailedAn actor of a load across scenes threw in its Awake or Start outside the guarded steps (the exception went on as before).Save/State/SaveResults.cs:165
PartWriteFailedA save part (ISavePart) threw while it was written: the save has no section for it.Save/State/SaveResults.cs:167
PartReadFailedA save part threw while it was read (or told its section is absent); the load went on.Save/State/SaveResults.cs:169
PartNewerVersionA save part's section was written by a newer version of the part than the registered one; it was read as it is.Save/State/SaveResults.cs:171
PartKeyTakenA save part was not written: the save holds an entry with its key already (written by Intrigues or an add-on).Save/State/SaveResults.cs:173
SaveDeferredA slot save was asked inside a day's thinking (DeferInsideDay) or while a node of a scheme ran, and was put off to the end of the frame.Save/State/SaveResults.cs:178
LoadedFromBackupA slot load read the storage's backup of the slot (an older save), not its main copy.Save/State/SaveResults.cs:180
NotCurrentA slot save was written, but a new game started (or the world was cleared) while it was written: it is not the current slot.Save/State/SaveResults.cs:182
PartSecretUnreadableA secret save part's section could not be opened (no or another password, a changed file, or it was not encrypted): a full load treats it as missing (Absent), a partial load does not read it.Save/State/SaveResults.cs:184
SecretRefusedA slot save was refused: it holds a secret save part and there is no password for it, or the password is the one Intrigues ships with.Save/State/SaveResults.cs:186
RevertedA load failed and the game was put back as it was before it (RevertSameScene); NotReverted lists what was not undone.Save/State/SaveResults.cs:188
RevertFailedA load failed and putting the game back failed too (RevertSameScene): the game is left as it is, half loaded.Save/State/SaveResults.cs:190
EmptyEntryA list of the save holds an empty entry (null); the load skips it.Save/State/SaveResults.cs:192
DefinitionWithoutIdA saved clan, family, culture, policy or role has no ID: it loads, but nothing can name it.Save/State/SaveResults.cs:194
DuplicateDefinitionIdTwo saved clans, families, cultures, policies or roles share one ID: both load, and whatever names the ID finds the first one.Save/State/SaveResults.cs:196
UnknownValueA saved value of a fixed list (an actor's gender or life state, a marriage's state) is one this version does not know; it loads as it is.Save/State/SaveResults.cs:198
CaptureInsideNodeA capture or a slot save was asked while a scheme's flow ran (any code that runs while a scheme's flow runs (a node's Run, Run Code's method, a Signal Receiver, a trigger, Changed, scheme-end, actor or accomplice listener)): a capture is refused (InsideNode; with InsideNode = Warn it is taken and this is a warning); a slot save of the whole game waits until the node returned, and is refused (InsideNode) only when that does not happen within its frames. Saved there, the node would run again on load (its effect twice).Save/State/SaveResults.cs:206