can we fix this

Fixed
wolf00013 [github] · 11 months ago

Issue description

I deleted some train tracks and have trains in the middle of them

Reproduction steps

loaded a save game

Game version and build number

v0.7.9 b495

Operating system

Windows

Attachments

25-11-24_11-20-35_0919.log

1 attachment only for registered users
wolf00013 [github] · 11 months ago

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.NullReferenceException: Object reference not set to an instance of an object
at Mafi.Core.Trains.Train.initAfterLoad (System.Int32 saveVersion) [0x001aa] . 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]

Closed as ✅ Fixed

6 Showing 1–3 of 3