Does not load the save

Player resolved Player setup
Zingelshpiz [github] · 1 year ago

Issue description

At some point, the save stopped loading. I can't even imagine why :(

Reproduction steps

GOROD BLYAT.save

Game version and build number

v0.6.4d b347

Operating system

Windows

Attachments

Player.log

Player1.log

Player-prev.log

crash.dmp

25-04-07_03-58-15_2326.log

The game failed to start. If the problem persists, please send us an error report.

Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Terrain.TerrainManager' (type 'TerrainManager'. Previous deserialized object: Mafi.Core.Terrain.Surfaces.TileSurfaceDecalsSlimIdManager (type TileSurfaceDecalsSlimIdManager) ---> System.OutOfMemoryException: Out of memory
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
at System.Array.Resize[T] (T[]& array, System.Int32 newSize) [0x00029]
at Mafi.Collections.LystStruct1[T].extendCapacity (System.Int32 minCapacity) [0x00035] at Mafi.Collections.LystStruct1[T].Add (T item) [0x0002d]
at Mafi.Core.Terrain.TerrainManager+TerrainData.<DeserializeCustom>g__readTile|52_0 (Mafi.Core.Terrain.TerrainManager+TerrainData+<>c__DisplayClass52_0& ) [0x00239]
at Mafi.Core.Terrain.TerrainManager+TerrainData.<DeserializeCustom>g__readChangedTiles|52_2 (System.Int32 index, Mafi.Core.Terrain.TerrainManager+TerrainData+<>c__DisplayClass52_0& ) [0x00039]
at Mafi.Core.Terrain.TerrainManager+TerrainData.DeserializeCustom (Mafi.Serialization.BlobReader reader, System.Boolean inPlace, System.Int32& loadedTiles) [0x0013e]
at Mafi.Core.Terrain.TerrainManager+TerrainData.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Core.Terrain.TerrainManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00062]
at Mafi.Core.Terrain.TerrainManager+<>c.<.cctor>b__373_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__30.MoveNext () [0x00062]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__30.MoveNext () [0x000f3]
at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__7.MoveNext () [0x002ae]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__3.MoveNext () [0x002e8]
at Mafi.Unity.GamePlayScene+<loadGame>d__21.MoveNext () [0x00296]
at Mafi.Unity.GamePlayScene+<Initialize>d__18.MoveNext () [0x000a5]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__70.MoveNext () [0x000fc]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dc]

Files not imported: GOROD BLYAT.save

Originally posted in Russian
### Issue description At some point, the save stopped loading. I can't even imagine why :( ### Reproduction steps GOROD BLYAT.save ### Game version and build number v0.6.4d b347 ### Operating system Windows ### Attachments Player.log Player1.log Player-prev.log crash.dmp 25-04-07\_03-58-15\_2326.log Игре не удалось запуститься. Если проблема повторяется, отправьте нам отчёт об ошибках. Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Terrain.TerrainManager' (type 'TerrainManager'. Previous deserialized object: Mafi.Core.Terrain.Surfaces.TileSurfaceDecalsSlimIdManager (type TileSurfaceDecalsSlimIdManager) ---> System.OutOfMemoryException: Out of memory at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int) at System.Array.Resize[T] (T[]& array, System.Int32 newSize) [0x00029] at Mafi.Collections.LystStruct`1[T].extendCapacity (System.Int32 minCapacity) [0x00035] at Mafi.Collections.LystStruct`1[T].Add (T item) [0x0002d] at Mafi.Core.Terrain.TerrainManager+TerrainData.<DeserializeCustom>g__readTile|52_0 (Mafi.Core.Terrain.TerrainManager+TerrainData+<>c__DisplayClass52_0& ) [0x00239] at Mafi.Core.Terrain.TerrainManager+TerrainData.<DeserializeCustom>g__readChangedTiles|52_2 (System.Int32 index, Mafi.Core.Terrain.TerrainManager+TerrainData+<>c__DisplayClass52_0& ) [0x00039] at Mafi.Core.Terrain.TerrainManager+TerrainData.DeserializeCustom (Mafi.Serialization.BlobReader reader, System.Boolean inPlace, System.Int32& loadedTiles) [0x0013e] at Mafi.Core.Terrain.TerrainManager+TerrainData.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Core.Terrain.TerrainManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00062] at Mafi.Core.Terrain.TerrainManager+<>c.<.cctor>b__373_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__30.MoveNext () [0x00062] --- End of inner exception stack trace --- at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__30.MoveNext () [0x000f3] at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__7.MoveNext () [0x002ae] at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__3.MoveNext () [0x002e8] at Mafi.Unity.GamePlayScene+<loadGame>d__21.MoveNext () [0x00296] at Mafi.Unity.GamePlayScene+<Initialize>d__18.MoveNext () [0x000a5] at Mafi.Unity.Main+<unloadAndStartNewScene>d__70.MoveNext () [0x000fc] at Mafi.Unity.Main.stepSceneInitialization () [0x000dc] Files not imported: GOROD BLYAT.save
5 attachments only for registered users
poltime poltime · 1 year ago

The file is corrupted. You either have a buggy RAM or a storage device.

Zingelshpiz [github] · 1 year ago

The file is corrupted. You either have a buggy RAM or a storage device.

It's very strange. The old saving of this card works, but this one gives an error after saving. Well, I realized that the file got corrupted somehow during saving and, most likely, it cannot be restored. Thanks! It's a pity that we have to build everything all over again :D

Captain Filip Captain Filip · 1 year ago

Yes, this seems like a corrupted save, either due to a hard drive issue or a RAM problem.

Closed as ☑️ Player resolved

5 Showing 1–4 of 4