game crashed and now says failed to initialize

Can't reproduce Player setup
dmphelan [github] · 1 year ago

Issue description

I had to go do something so I paused and when I came back the game had crashed. I tried playing today and it said that the game had failed to initialize. Here's what it said:

The game failed to initialize. Please file a bug report if this issue persists.

Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Collections.Dict2[System.String,System.Object]' (type 'Dict2')
parent object '--' (type '--')
Previous deserialized object: 'Mafi.Collections.Dict2[System.String,System.Object]' (type 'Dict2') ---> Mafi.Serialization.CorruptedSaveException: New deserialized type was expected to have ID 1373 but value 18897 was read.
at Mafi.Serialization.BlobReader.ReadType (System.Boolean allowNulls) [0x00078]
at Mafi.Serialization.DynamicDispatchClassSerializer1[T].<.ctor>b__11_1 (Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Collections.Dict2[TKey,TValue].DeserializeData (Mafi.Serialization.BlobReader reader) [0x0004a]
at Mafi.Collections.Dict`2+<>c[TKey,TValue].<.cctor>b__85_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__34.MoveNext () [0x00054]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__34.MoveNext () [0x0014e]
at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__7.MoveNext () [0x004a9]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__3.MoveNext () [0x002fe]
at Mafi.Unity.GamePlayScene+<loadGame>d__23.MoveNext () [0x00297]
at Mafi.Unity.GamePlayScene+<Initialize>d__20.MoveNext () [0x000a5]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__89.MoveNext () [0x000fc]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dd]

Reproduction steps

I can't find the save the folder is empty nvm found it just open the game and load the file

Game version and build number

v0.7.7 b470

Operating system

Windows

dmphelan [github] · 1 year ago

Save 2025-07-24, 09-26-58 - Copy.save

1 attachment only for registered users
poltime poltime · 1 year ago

This save file is fine. Look for the problem on your PC.

Captain Filip Captain Filip · 1 year ago

Loaded fine for me as well. Probably drive or RAM issue.

Captain Filip Captain Filip · 14 days ago

The save loads fine on our side, so the error most likely came from the drive or the memory on your computer. If it still happens on the latest version, please open a new report here.

Closed as 🤔 Can't reproduce

6 Showing 1–5 of 5