TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

Crash on Save load #434

Closed ZilgornZeypher closed 3 years ago

ZilgornZeypher commented 3 years ago

Torch Version: 1.3.1.144SE Version: 1.197.170

Expected Behavior

What did you expect to happen? Server to start normally

Observed Behavior

What actually happened? Server did it's thing up until the save load or loading the fresh world and would crash out with the following error. 18:03:09.6954 [INFO] Keen: Experimental mode reason: ExperimentalMode, BlockLimitsEnabled, EnableIngameScripts, Mods 18:03:09.6954 [INFO] Keen: Console compatibility: No 18:03:30.5630 [INFO] Keen: Exception while loading world: An exception(s) was thrown while executing a task. 18:03:30.5710 [INFO] Keen: Plugin Init: Torch.Server.TorchServer 18:03:30.5710 [INFO] Keen: Exiting.. 18:03:30.5710 [WARN] TorchSessionManager: Session unloading event occurred when we don't have a session. 18:03:30.6031 [INFO] Keen: Autosave in unload [ERROR] Keen: System.NullReferenceException: Object reference not set to an instance of an object. at Sandbox.Game.World.MySession.GetCheckpoint(String saveName, Boolean isClientRequest) at Sandbox.Game.World.MySession.Save(MySessionSnapshot& snapshot, String customSaveName) System.NullReferenceException: Object reference not set to an instance of an object. at Sandbox.Game.World.MySession.GetCheckpoint(String saveName, Boolean isClientRequest) at Sandbox.Game.World.MySession.Save(MySessionSnapshot& snapshot, String customSaveName)

Steps to Reproduce

  1. How did this issue get triggered Starting a modded world or a fresh unmodded world results in crash.
  2. Write the steps here.

Other Information

Provide links to game logs or saves here if necessary. Gasme log for clean save load attempt. https://pastebin.com/km0EzzGH

ZilgornZeypher commented 3 years ago

Issue was my side nothing to do with Torch please ignore