MaFi-Games / Captain-of-Industry-issues

Public issue tracker for Captain of Industry video game
22 stars 4 forks source link

fail to load the games after the update #1295

Open Gilga1412 opened 1 year ago

Gilga1412 commented 1 year 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.greadTile|29_0 (System.Int32 absI, Mafi.Core.Terrain.TerrainManager+TerrainData+<>c__DisplayClass29_0& ) [0x000d7]
at Mafi.Core.Terrain.TerrainManager+TerrainData.g
readChangedTiles|29_1 (System.Int32 index, Mafi.Core.Terrain.TerrainManager+TerrainData+<>cDisplayClass29_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+d
28.MoveNext () [0x00062]
--- End of inner exception stack trace --- at Mafi.Serialization.BlobReader+d28.MoveNext () [0x000bf]
at Mafi.Core.SaveGame.GameLoader+d
8.MoveNext () [0x00265]
at Mafi.Core.Game.GameBuilder+d2.MoveNext () [0x0020e]
at Mafi.Unity.GamePlayScene+d
16.MoveNext () [0x001f9]
at Mafi.Unity.GamePlayScene+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

zuff-coi commented 1 year ago

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

Gilga1412 commented 1 year ago

here the save, i don't know where to begin or the end but i upload the closest one that trigger the problem Captain of Industry Saves.ZIP