Issue description
I was playing fine on 06/06 but when loading in the morning of 07/06 I encountered a corrupted save warning message when pressing the continue button.
I play with mods and updated them all to the latest version but still receive the same warning message and cannot load into my world.
Error message is as below
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 'Set1')
Last deserialized across all finalize calls: 'Count: 0, capacity: 0' (type 'Set1') Last read object types: [VehiclePathFindingTask, VehicleTerrainPathSegment, RoadPathSegment[]] ---> System.Exception: Failed to deserialize type 'ShipSurfaceProvider' using dynamic dispatch, it is not assignable to 'IVehicleJob'. at Mafi.Serialization.DynamicDispatchClassSerializer1[T].<.ctor>b__11_1 (Mafi.Serialization.BlobReader reader) [0x0008a]
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__112.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x000fd]
Game version: 0.8.5
Loaded mods: (Kayser's Automatic Forestry Designations 0.1.6), (Kayser's Automatic Terrain Designations 0.4.3), (Research Queue 1.0.1), (Gameplay++ 1.2.0), (Recipes++ 1.1.0), (Tweaks++ 1.1.4)
Failed mods: none
I did notice during my session on 06/06 that near to the end of the night I had a lot of errors from trucks that could not path find to places that they absolutely had access to and couldn't figure out what was causing the problem.
Modlist is as below
Gameplay++
Recipes++
Tweaks++
Kaysers Auto designations [Forestry and Terrain]
Research Queue
I have attached a zip of my end of night save, your save files are too big to upload more onto github.
Hope you can help but I appreciate you are limited considering mods are being used.
I'm on your discord with username grimmyv2 if you need to reach out or anything.
Thanks
Reproduction steps
Try to load any save file
Game version and build number
v0.8.5 b598
Operating system
Windows
Attachments
Save 2024-05-06, 23-40-15.save