Game crash on load

Won't fix Mod issue
ndnoutlaw17 [github] · 5 months ago

Issue description

While trying to continue a saved game got load error

Reproduction steps

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 'Mafi.Collections.Lyst1[System.Collections.Generic.KeyValuePair2[System.Int32,Mafi.Collections.Set1[Mafi.Core.Terrain.Trees.TreeId]]].ToString() threw NullReferenceException' (type 'Lyst1')
parent object '--' (type '--')
Previous deserialized object: 'Mafi.Core.Utils.XorRsr128PlusGenerator' (type 'XorRsr128PlusGenerator') ---> Mafi.Serialization.CorruptedSaveException: Failed to read variable-encoded uint, last byte is too high.
at Mafi.Serialization.BlobReader.ReadUInt () [0x000a9]
at Mafi.Serialization.BlobReader.ReadIntNotNegative () [0x00000]
at Mafi.Collections.Lyst1[T].DeserializeData (Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Collections.Lyst1+<>c[T].<.cctor>b__156_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__35.MoveNext () [0x00054]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__35.MoveNext () [0x00160]
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.4b
Loaded mods: (Trains expansion 1.0.0), (Supporter edition 1.1.0), (Kayser's Automatic Forestry Designations 0.1.3), (Kayser's Automatic Terrain Designations 0.4.0), (ShipAutoExplore 0.1.0), (Underground Transport 5.1.7), (Cheat++ 1.1.3), (Storage++ 1.0.5)
Failed mods: none

Game version and build number

v0.8.4b b593

Operating system

Windows

poltime poltime · 5 months ago

Loaded mods: (Kayser's Automatic Forestry Designations 0.1.3), (Kayser's Automatic Terrain Designations 0.4.0), (ShipAutoExplore 0.1.0), (Underground Transport 5.1.7), (Cheat++ 1.1.3), (Storage++ 1.0.5)

That's the reason.

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

6 Showing 1–3 of 3