Can't load my saved game or previous autosaves

Fixed
Domca-98 [github] · 2 months ago

Issue description

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

Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Simulation.SimLoopEvents' (type 'SimLoopEvents')
parent object '--' (type '--')
Previous deserialized in this finalize call: <none - failure is the first delayed deserializer in this finalize call>
Last deserialized across all finalize calls: 'Mafi.Core.SaveGame.GameSaveInfo' (type 'GameSaveInfo')
Last read object types: [RandomProvider, WorldRegionMap, WorldRegionMapPreviewData] ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'VehicleRecoveryManager' but type 'Event' was expected. ToString returned 'Mafi.Core.Vehicles.VehicleRecoveryManager'. classId: 110, readObjects.Count: 204
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.Event.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Core.Simulation.SimLoopEvents.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00044]
at Mafi.Core.Simulation.SimLoopEvents+<>c.<.cctor>b__100_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__117.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]

Game version: 0.8.7
Loaded mods: (Trains expansion 1.0.0), (Industrial Expansion 1.0.5), (Underground Pipes 0.9.24), (Wind turbines 0.1.11a), (Boost++ 1.2.5), (Cheat++ 1.3.7), (Gameplay++ 1.3.3), (Recipes++ 1.2.3), (Speed++ 1.0.9), (Storage++ 1.2.5), (Tweaks++ 1.2.8), (Utilities++ 1.2.2), (WorldGen++ 1.1.7)
Failed mods: none

Reproduction steps

  1. start the game 2. load the map - (back to the menu with the error above).

Game version and build number

v0.8.7 b613

Operating system

Windows

Originally posted in Czech
Nelze načíst uloženou hru ani předchozí autosavy
### Issue description Hru se nepodařilo načíst, protože je uložený soubor poškozený. Pokud problém přetrvává, odešlete hlášení o chybě. Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Simulation.SimLoopEvents' (type 'SimLoopEvents') parent object '--' (type '--') Previous deserialized in this finalize call: <none - failure is the first delayed deserializer in this finalize call> Last deserialized across all finalize calls: 'Mafi.Core.SaveGame.GameSaveInfo' (type 'GameSaveInfo') Last read object types: [RandomProvider, WorldRegionMap, WorldRegionMapPreviewData] ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'VehicleRecoveryManager' but type 'Event' was expected. ToString returned 'Mafi.Core.Vehicles.VehicleRecoveryManager'. classId: 110, readObjects.Count: 204 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.Event.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Core.Simulation.SimLoopEvents.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00044] at Mafi.Core.Simulation.SimLoopEvents+<>c.<.cctor>b__100_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__117.MoveNext () [0x0013b] at Mafi.Unity.Main.stepSceneInitialization () [0x00104] Game version: 0.8.7 Loaded mods: (Trains expansion 1.0.0), (Industrial Expansion 1.0.5), (Underground Pipes 0.9.24), (Wind turbines 0.1.11a), (Boost++ 1.2.5), (Cheat++ 1.3.7), (Gameplay++ 1.3.3), (Recipes++ 1.2.3), (Speed++ 1.0.9), (Storage++ 1.2.5), (Tweaks++ 1.2.8), (Utilities++ 1.2.2), (WorldGen++ 1.1.7) Failed mods: none ### Reproduction steps 1. spuštění hry 2. načtítání mapy- (zpět do menu s errorem výše). ### Game version and build number v0.8.7 b613 ### Operating system Windows

Closed as ✅ Fixed

10 Showing 1–1 of 1