Space Engineers

Space Engineers

MA PocketGear
Sacred 22 Jun, 2024 @ 5:28am
Crash in SP
2024-06-22 04:39:06.597 - Thread: 1 -> ERROR: Failed to cleanly unload session:
2024-06-22 04:39:06.666 - Thread: 1 -> at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Sandbox.Game.World.MySessionLoader.Unload()
at Sandbox.Game.World.MySessionLoader.UnloadAndExitToMenu()
at SpaceEngineers.Game.GUI.MyGuiScreenMainMenu.OnExitToMainMenuMessageBoxCallback(ResultEnum callbackReturn)
at Sandbox.Graphics.GUI.MyGuiScreenMessageBox.CallResultCallback(ResultEnum val)
at Sandbox.Graphics.GUI.MyGuiScreenMessageBox.OnClick(ResultEnum result)
at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1)
at Sandbox.Graphics.GUI.MyGuiControlButton.HandleInput()
at Sandbox.Graphics.GUI.MyGuiScreenBase.HandleControlsInput(Boolean receivedFocusInThisUpdate)
at Sandbox.Graphics.GUI.MyGuiScreenBase.HandleInput(Boolean receivedFocusInThisUpdate)
at Sandbox.Graphics.GUI.MyGuiScreenMessageBox.HandleInput(Boolean receivedFocusInThisUpdate)
at Sandbox.Graphics.GUI.MyScreenManager.HandleInput()
at Sandbox.Graphics.GUI.MyDX9Gui.HandleInput()
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)
at avaness.SpaceEngineersLauncher.Program.StartSpaceEngineers(String[] args)
at avaness.SpaceEngineersLauncher.Program.Main(String[] args)
2024-06-22 04:39:06.683 - Thread: 1 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at Sisk.PocketGear.DamageSystem.ProtectInfo.<>c.<CalculateMass>b__19_0(IMyCubeGrid x)
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Linq.Enumerable.Sum(IEnumerable`1 source)
at Sisk.PocketGear.DamageSystem.ProtectInfo.CalculateMass(IMyCubeGrid cubeGrid)
at Sisk.PocketGear.DamageSystem.ProtectInfo.OnBlockRemoved(IMySlimBlock block)
at System.Action`1.Invoke(T obj)
at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1)
at Sandbox.Game.Entities.MyCubeGrid.NotifyBlockRemoved_Patch1(MyCubeGrid this, MySlimBlock block)
at Sandbox.Game.Entities.Cube.MyMotorAdvancedStator.Detach(MyCubeGrid topGrid, Boolean updateGroup)
at Sandbox.Game.Entities.Blocks.MyMechanicalConnectionBlockBase.OnRemovedFromScene(Object source)
at VRage.Game.Entity.MyEntity.OnRemovedFromScene(Object source)
at Sandbox.Game.Entities.MyCubeGrid.OnRemovedFromScene_Patch1(MyCubeGrid this, Object source)
at Sandbox.Game.Entities.MyEntities.Remove(MyEntity entity)
at Sandbox.Game.Entities.MyCubeGrid.BeforeDelete_Patch1(MyCubeGrid this)
at VRage.Game.Entity.MyEntity.Delete()
at Sandbox.Game.Entities.MyEntities.CloseAll()
at Sandbox.Game.Entities.MyEntities.UnloadData()
at Sandbox.Game.World.MySector.UnloadData()
at Sandbox.Game.World.MySession.UnloadDataComponents(Boolean beforeLoadWorld)
at Sandbox.Game.World.MySession.Unload_Patch0(MySession this)
at Sandbox.Game.World.MySessionLoader.Unload()```



Causes problems when trying to load a save.