The game failed to load as the save file is corrupted.

Won't fix Mod issue
sir5574 [github] · 3 months ago

Issue description

The game failed to load as the save file is corrupted. If this issue persists, please file 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: 0' (type 'Lyst1')
Last deserialized across all finalize calls: 'Count: 0, capacity: 0' (type 'Lyst1') Last read object types: [Lyst1, VehicleJobs, VehicleJobs] ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'String' but type 'TerrainDesignation' was expected. ToString returned 'COI-CoreData'. classId: 2, readObjects.Count: 67585
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.Set1+<>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: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.1.11), (Kayser's Automatic Terrain Designations 0.5.2), (ShipAutoExplore 0.1.0), (Gameplay++ 1.2.8), (Recipes++ 1.1.8), (Storage++ 1.1.5), (Tweaks++ 1.2.1)
Failed mods: none

Reproduction steps

I have some mods enables see screenshot.

Game version and build number

v0.8.6a b610

Operating system

Windows

Attachments

Image

poltime poltime · 3 months ago

Loaded mods: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.1.11), (Kayser's Automatic Terrain Designations 0.5.2), (ShipAutoExplore 0.1.0), (Gameplay++ 1.2.8), (Recipes++ 1.1.8), (Storage++ 1.1.5), (Tweaks++ 1.2.1)

Update the mods.

sir5574 [github] · 3 months ago

Loaded mods: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.1.11), (Kayser's Automatic Terrain Designations 0.5.2), (ShipAutoExplore 0.1.0), (Gameplay++ 1.2.8), (Recipes++ 1.1.8), (Storage++ 1.1.5), (Tweaks++ 1.2.1)

Update the mods.

They are updated as far as they can go

Captain Filip Captain Filip · 15 days ago

This load error appeared in a save that uses mods. If it still happens with all mods disabled, please open a new report here.

Closed as 🗑️ Won't fix

5 Showing 1–4 of 4