Game crashes trying to load savegame

Expired Player setup
mr3vil [github] · 11 months ago

Issue description

When attempting to load a savegame the following error pops up on screen when loading.

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

Mafi.Serialization.CorruptedSaveException: Failed to initialize 'Train' when calling 'initAfterLoad' ---> Mafi.Serialization.CorruptedSaveException: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mafi.Collections.ArrayDataStorage1[T].get_Item (System.Int32 index) [0x00000] at Mafi.Core.Trains.TrainTracksGraphManagerBase1[TTrack].GetTrackEntity (Mafi.Core.TrainTrackId trackId) [0x00000]
at Mafi.Core.Trains.Train.initAfterLoad (System.Int32 saveVersion) [0x001a4] . Train initialization failed.
at Mafi.Core.Trains.Train.initAfterLoad (System.Int32 saveVersion) [0x005b2]
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__34.MoveNext () [0x005c7]
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__25.MoveNext () [0x00297]
at Mafi.Unity.GamePlayScene+<Initialize>d__22.MoveNext () [0x000a1]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__90.MoveNext () [0x0011b]
at Mafi.Unity.Main.stepSceneInitialization () [0x000ee]

Reproduction steps

Launch Game from steam.

Load Save game from UI

Game crashes around 66% loading

Game version and build number

v0.7.9 b495

Operating system

Windows

Attachments

TheGarbageManCan.save

Player-prev.log, Player.log

3 attachments only for registered users
poltime poltime · 11 months ago

The save file is fine, It's a hardware/driver issue. What's the CPU model?

Ran out of virtual channels. Audio clip "BasicDistiller" will not be played.
Ran out of virtual channels. Audio clip "BlastFurnace" will not be played.
Ran out of virtual channels. Audio clip "GlassMaker" will not be played.
Ran out of virtual channels. Audio clip "GlassMaker" will not be played.
Ran out of virtual channels. Audio clip "BlastFurnace" will not be played.
Ran out of virtual channels. Audio clip "SettlingTank" will not be played.
Ran out of virtual channels. Audio clip "SettlingTank" will not be played.
Ran out of virtual channels. Audio clip "BlastFurnace" will not be played.
Ran out of virtual channels. Audio clip "BlastFurnace" will not be played.
Ran out of virtual channels. Audio clip "GlassMaker" will not be played.
Ran out of virtual channels. Audio clip "GlassMaker" will not be played.
Ran out of virtual channels. Audio clip "SettlingTank" will not be played.
Ran out of virtual channels. Audio clip "SettlingTank" will not be played.
Ran out of virtual channels. Audio clip "BlastFurnace" will not be played.
Ran out of virtual channels. Audio clip "BlastFurnace" will not be played.
Ran out of virtual channels. Audio clip "BlastFurnace" will not be played.
Ran out of virtual channels. Audio clip "BlastFurnace" will not be played.
Ran out of virtual channels. Audio clip "Reactor" will not be played.

Captain Filip Captain Filip · 15 days ago

As this thread found, the save loads fine, which points at hardware or drivers rather than the game. If it still happens on the latest version, please open a new report here.

Closed as ⏱️ Expired

5 Showing 1–3 of 3