An error occurs when loading the game after disabling the ShipAutoExplore mod.

Won't fix Mod issue
bochaniu [github] · 2 months ago

Issue description

游戏加载失败,存档文件已损坏。如果此问题持续存在,请提交错误报告。

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: [BridgesLaneChangeManager, CargoShipQuickTradeHandler, StatueOfMaintenanceManager] ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'StackerTowerSlotBasedValidator' but type 'Event' was expected. ToString returned 'Mafi.Core.Factory.Transports.StackerTowerSlotBasedValidator'. classId: 161, readObjects.Count: 181
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.7a
Loaded mods: (Trains expansion 1.0.0), (Supporter edition 1.1.0)
Failed mods: none

Reproduction steps

An error occurs when loading the game after disabling the ShipAutoExplore mod.

Game version and build number

v0.8.7a b614

Operating system

Windows

Closed as 🗑️ Won't fix

8 Showing 1–3 of 3