fail to load the games after the update

Saves & Loading
Gilga1412 [github] · 3 years ago

Issue description

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

Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Terrain.TerrainManager' (type 'TerrainManager'. Previous deserialized object: Mafi.Core.GameLoop.GameRunner (type GameRunner) ---> Mafi.Serialization.CorruptedSaveException: Failed to read variable-encoded uint, last byte is too high.
at Mafi.Serialization.BlobReader.ReadUInt () [0x0009a]
at Mafi.Core.Terrain.TerrainMaterialThicknessSlim.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Core.Terrain.TerrainManager+TerrainData.<Deserialize>g__readTile|29_0 (System.Int32 absI, Mafi.Core.Terrain.TerrainManager+TerrainData+<>c__DisplayClass29_0& ) [0x000d7]
at Mafi.Core.Terrain.TerrainManager+TerrainData.<Deserialize>g__readChangedTiles|29_1 (System.Int32 index, Mafi.Core.Terrain.TerrainManager+TerrainData+<>c__DisplayClass29_0& ) [0x00023]
at Mafi.Core.Terrain.TerrainManager+TerrainData.Deserialize (Mafi.Serialization.BlobReader reader) [0x000a0]
at Mafi.Core.Terrain.TerrainManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x0003b]
at Mafi.Core.Terrain.TerrainManager+<>c.<.cctor>b__311_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__28.MoveNext () [0x00062]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__28.MoveNext () [0x000bf]
at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__8.MoveNext () [0x00265]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__2.MoveNext () [0x0020e]
at Mafi.Unity.GamePlayScene+<loadGame>d__16.MoveNext () [0x001f9]
at Mafi.Unity.GamePlayScene+<Initialize>d__14.MoveNext () [0x000a5]
at Mafi.Unity.Main.stepSceneInitialization () [0x00000]

Reproduction steps

  1. open games
  2. i press continue to continue my games
  3. waiting to loading the games
  4. and the notification is appear

Game version and build number

v0.5.5a b250

Operating system

Windows

Attachments

Captain.of.Industry.report1.ZIP

1 attachment only for registered users
Captain Zuff Captain Zuff · 3 years ago

Thanks for your report. We do need a save file though to actually reproduce the issue. Could you upload the problematic save?

Gilga1412 [github] · 3 years ago

here the save, i don't know where to begin or the end but i upload the closest one that trigger the problem
test24.save, 23-10-05_01-06-autosave.save, 23-10-05_00-23-autosave-paused.save, 23-10-05_01-36-autosave.save, 23-10-04_22-53-autosave.save

5 attachments only for registered users
20 Showing 1–3 of 3