Error after update

Mod issue Saves & Loading

A game update can break mods until their authors rebuild them. Mods not working explains how to keep playing meanwhile.

Furio95 Furio95 · 40 minutes ago

Issue description

Unable to load the game because the save file is corrupted. Usually the cause is a mod that is no longer compatible with this version of the game.

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: [WorldMapCargoManager, StatueOfMaintenanceManager, CargoShipQuickTradeHandler] ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'ShipSurfaceProvider' but type 'Event' was expected. ToString returned 'Mafi.Core.Vehicles.ShipSurfaceProvider'. classId: 160, readObjects.Count: 215
at Mafi.Serialization.BlobReader.TryStartClassDeserialization[T] (T& obj, System.Func3[T1,T2,TResult] customNewObjFactory, System.Func3[T1,T2,TResult] customNewObjFactoryOnTypeLoadFail, System.Boolean nullObjIsOk) [0x000e9]
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__44.MoveNext () [0x00054]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__44.MoveNext () [0x00203]
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__125.MoveNext () [0x00146]
at Mafi.Unity.Main.stepSceneInitialization () [0x00122]

Game version: 0.8.8
Loaded mods: (Bagger 288 0.9.1), (Cheat++ 1.5.1), (Cargo Helicopter 0.20.2), (Advanced Farm & Food Optimiser 0.4.1), (Gameplay++ 1.4.3), (WorldGen++ 1.2.6), (Geology & Reservoir Engineering 1.5.0), (Recipes++ 1.3.3), (Storage++ 1.3.7), (MZ Mining Fleet & Free Logistics 0.16.0), (Fusion Horizon 0.3.0), (Industrial Expansion 1.0.5), (Infinite Groundwater 1.0.3), (Advanced Flow Control & Monitor 0.3.4), (Production Calculator 0.4.1), (Programable Network 1.1.5b), (Underground Pipes 1.1.2), (Underground Transport 6.2.0), (Vehicle Ramp Revival 1.0.1), (Field Farming 1.7.5), (Mega Mining 0.8.3), (Speed++ 1.1.6)
Failed mods: none

Reproduction steps

How do I fix this problem after the update I did the other day?

Game version and build number

v0.8.8 (b627)

Which branch of the game are you on?

Stable

Operating system

Windows

Originally posted in Italian
errore dopo aggiornamento
### Issue description Impossibile caricare la partita perché il file di salvataggio è corrotto. Di solito la causa è una mod non più compatibile con questa versione del gioco. Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Simulation.SimLoopEvents' (type 'SimLoopEvents')\ parent object '--' (type '--')\ Previous deserialized in this finalize call: &lt;none - failure is the first delayed deserializer in this finalize call&gt;\ Last deserialized across all finalize calls: 'Mafi.Core.SaveGame.GameSaveInfo' (type 'GameSaveInfo')\ Last read object types: \[WorldMapCargoManager, StatueOfMaintenanceManager, CargoShipQuickTradeHandler\] ---&gt; Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'ShipSurfaceProvider' but type 'Event' was expected. ToString returned 'Mafi.Core.Vehicles.ShipSurfaceProvider'. classId: 160, readObjects.Count: 215\ 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) \[0x000e9\]\ 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+&lt;&gt;c.&lt;.cctor&gt;b__100_1 (System.Object obj, Mafi.Serialization.BlobReader reader) \[0x00000\]\ at Mafi.Serialization.BlobReader+&lt;FinalizeLoadingTimeSliced&gt;d__44.MoveNext () \[0x00054\]\ --- End of inner exception stack trace ---\ at Mafi.Serialization.BlobReader+&lt;FinalizeLoadingTimeSliced&gt;d__44.MoveNext () \[0x00203\]\ at Mafi.Core.SaveGame.GameLoader+&lt;FinishGameLoadAndDisposeTimeSliced&gt;d__12.MoveNext () \[0x004ef\]\ at [Mafi.Core.Game](http://Mafi.Core.Game).GameBuilder+&lt;BuildLoadedGameTimeSliced&gt;d__1.MoveNext () \[0x005a4\]\ at Mafi.Unity.GamePlayScene+&lt;loadGame&gt;d__28.MoveNext () \[0x002ca\]\ at Mafi.Unity.GamePlayScene+&lt;Initialize&gt;d__25.MoveNext () \[0x000ad\]\ at Mafi.Unity.Main+&lt;unloadAndStartNewScene&gt;d__125.MoveNext () \[0x00146\]\ at Mafi.Unity.Main.stepSceneInitialization () \[0x00122\] Game version: 0.8.8\ Loaded mods: (Bagger 288 0.9.1), (Cheat++ 1.5.1), (Cargo Helicopter 0.20.2), (Advanced Farm & Food Optimiser 0.4.1), (Gameplay++ 1.4.3), (WorldGen++ 1.2.6), (Geology & Reservoir Engineering 1.5.0), (Recipes++ 1.3.3), (Storage++ 1.3.7), (MZ Mining Fleet & Free Logistics 0.16.0), (Fusion Horizon 0.3.0), (Industrial Expansion 1.0.5), (Infinite Groundwater 1.0.3), (Advanced Flow Control & Monitor 0.3.4), (Production Calculator 0.4.1), (Programable Network 1.1.5b), (Underground Pipes 1.1.2), (Underground Transport 6.2.0), (Vehicle Ramp Revival 1.0.1), (Field Farming 1.7.5), (Mega Mining 0.8.3), (Speed++ 1.1.6)\ Failed mods: none ### Reproduction steps come risolvo questo problema dopo l'aggiornamento eseguito l'altro giorno? ### Game version and build number v0.8.8 (b627) ### Which branch of the game are you on? Stable ### Operating system Windows
Captain Matt Captain Matt · 36 minutes ago

Thanks for the report! This is caused by a mod, so please let the mod's author know. If it started after a game update, you can keep playing on the previous game version (Steam legacy branch) until the mod is updated, or continue without the mod (recovery save). See the Mods not working guide for how.

4 Showing 1–2 of 2