The savegame won't load

Fixed
Schiiila [github] · 2 months ago

Issue description

I just wanted to continue, like always.
Unfortunately the savegame didn't load.

Reproduction steps

  1. Load game.
  2. It doesn't start.

Game version and build number

v0.8.6a b610

Operating system

Windows

Attachments

The game could not be loaded because the save file is corrupted. If the problem persists, please create a bug report.

Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Count: 0, capacity: 0' (type 'Set1') parent object '--' (type '--') Previous deserialized in this finalize call: 'Count: 0, capacity: 4' (type 'Lyst1')
Last deserialized across all finalize calls: 'Count: 0, capacity: 4' (type 'Lyst1') Last read object types: [CallbackSaveData[], CallbackSaveData[], CallbackSaveData[]] ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'String' but type 'TerrainDesignation' was expected. ToString returned 'COI-CoreData'. classId: 2, readObjects.Count: 90001 at Mafi.Serialization.BlobReader.TryStartClassDeserialization[T] (T& obj, System.Func3[T1,T2,TResult] customNewObjFactory, System.Func3[T1,T2,TResult] customNewObjFactoryOnTypeLoadFail, System.Boolean nullObjIsOk) [0x000dd] at Mafi.Core.Terrain.Designation.TerrainDesignation.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Mafi.Serialization.BlobReader) at Mafi.Collections.Set1[T].DeserializeData (Mafi.Serialization.BlobReader reader) [0x00039]
at Mafi.Collections.Set`1+<>c[T].<.cctor>b__106_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00054]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00202]
at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__12.MoveNext () [0x004ef]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x005a4]
at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]

Game version: 0.8.6a
Loaded mods: (Kayser's Automatic Forestry Designations 0.1.11), (Advanced Farm & Food Optimiser 0.2.0), (Production Calculator 0.1.1), (Research Queue 1.0.1), (Retaining Walls Never Die 1.0.0), (ShipAutoExplore 0.1.0), (Underground Pipes 0.9.24), (Storage++ 1.1.5), (Tweaks++ 1.2.1), (WorldGen++ 1.1.2)
Failed mods: none

Originally posted in German
Es lädt das Savegame nicht
### Issue description Ich wollte nur fortsetzen, wie immer. Leider wurde das Savegame nicht geladen. ### Reproduction steps 1. Spiel laden. 2. Startet nicht. ### Game version and build number v0.8.6a b610 ### Operating system Windows ### Attachments Das Spiel konnte nicht geladen werden, da die Speicherdatei beschädigt ist. Sollte das Problem bestehen bleiben, erstelle bitte einen Fehlerbericht. Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Count: 0, capacity: 0' (type 'Set`1') parent object '--' (type '--') Previous deserialized in this finalize call: 'Count: 0, capacity: 4' (type 'Lyst`1') Last deserialized across all finalize calls: 'Count: 0, capacity: 4' (type 'Lyst`1') Last read object types: [CallbackSaveData[], CallbackSaveData[], CallbackSaveData[]] ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'String' but type 'TerrainDesignation' was expected. ToString returned 'COI-CoreData'. classId: 2, readObjects.Count: 90001 at Mafi.Serialization.BlobReader.TryStartClassDeserialization[T] (T& obj, System.Func`3[T1,T2,TResult] customNewObjFactory, System.Func`3[T1,T2,TResult] customNewObjFactoryOnTypeLoadFail, System.Boolean nullObjIsOk) [0x000dd] at Mafi.Core.Terrain.Designation.TerrainDesignation.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Mafi.Serialization.BlobReader) at Mafi.Collections.Set`1[T].DeserializeData (Mafi.Serialization.BlobReader reader) [0x00039] at Mafi.Collections.Set`1+<>c[T].<.cctor>b__106_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00054] --- End of inner exception stack trace --- at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00202] at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__12.MoveNext () [0x004ef] at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x005a4] at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca] at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad] at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x0013b] at Mafi.Unity.Main.stepSceneInitialization () [0x00104] Game version: 0.8.6a Loaded mods: (Kayser's Automatic Forestry Designations 0.1.11), (Advanced Farm & Food Optimiser 0.2.0), (Production Calculator 0.1.1), (Research Queue 1.0.1), (Retaining Walls Never Die 1.0.0), (ShipAutoExplore 0.1.0), (Underground Pipes 0.9.24), (Storage++ 1.1.5), (Tweaks++ 1.2.1), (WorldGen++ 1.1.2) Failed mods: none
Schiiila [github] · 2 months ago

Nach dem Updaten der Mods kommt folgender Fehler:

Das Spiel konnte nicht geladen werden, da die Speicherdatei beschädigt ist. Sollte das Problem bestehen bleiben, erstelle bitte einen Fehlerbericht.

Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Count: 0, capacity: 0' (type 'Set1') parent object '--' (type '--') Previous deserialized in this finalize call: 'Count: 0, capacity: 4' (type 'Lyst1')
Last deserialized across all finalize calls: 'Count: 0, capacity: 4' (type 'Lyst1') Last read object types: [CallbackSaveData[], CallbackSaveData[], CallbackSaveData[]] ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'String' but type 'TerrainDesignation' was expected. ToString returned 'COI-CoreData'. classId: 2, readObjects.Count: 90001 at Mafi.Serialization.BlobReader.TryStartClassDeserialization[T] (T& obj, System.Func3[T1,T2,TResult] customNewObjFactory, System.Func3[T1,T2,TResult] customNewObjFactoryOnTypeLoadFail, System.Boolean nullObjIsOk) [0x000dd] at Mafi.Core.Terrain.Designation.TerrainDesignation.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Mafi.Serialization.BlobReader) at Mafi.Collections.Set1[T].DeserializeData (Mafi.Serialization.BlobReader reader) [0x00039]
at Mafi.Collections.Set`1+<>c[T].<.cctor>b__106_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00054]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00202]
at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__12.MoveNext () [0x004ef]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x005a4]
at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]

Game version: 0.8.6a
Loaded mods: (Kayser's Automatic Forestry Designations 0.2.1), (Advanced Farm & Food Optimiser 0.2.0), (Production Calculator 0.1.1), (Research Queue 1.0.1), (Retaining Walls Never Die 1.0.0), (ShipAutoExplore 0.1.0), (Underground Pipes 0.9.24), (Storage++ 1.1.7), (Tweaks++ 1.2.2), (WorldGen++ 1.1.3)
Failed mods: none

poltime poltime · 2 months ago
  1. Load an Older Autosave. Select a save file created chronologically prior to the version 0.8.6a update. With your newly updated mods, this older file should now convert and load flawlessly.
  2. Downgrade via Steam. If you want to continue playing exactly where you left off without modifying files, you must revert the game to the version the save file was originally created on (e.g., v0.8.5): Right-click Captain of Industry in Steam -> Properties -> Betas. Select the previous game version from the dropdown menu. Important: You will likely need to downgrade your mods back to their older versions as well, as the newly updated mods will now crash on the older game version.
Schiiila [github] · 2 months ago

Vor 12h konnte ich noch fließend spielen. Erst jetzt ist das Problem entstanden. Ich glaube nicht, dass die Version das Problem beeinflusst hat. Aber ich probiere es gerne einmal aus.

Schiiila [github] · 2 months ago

Ich habe andere Savegames ausprobiert. Einige gingen nicht. Aber später ging es wieder. Ich habe somit ca. 4h Spielzeit verloren. Kein Drama, aber dennoch doof.

Closed as ✅ Fixed

10 Showing 1–5 of 5