Space Engineers Dedicated Server Crash
As a server admin, I had the dedicated server (running instance, not the app itself) crash as a player was interacting with AI engineers at a trader station. I was not a direct witness, but they reported that the NPC came aboard their ship and even took the controls shortly before the crash, its not entirely clear what the exact action was at the time of the crash. Possibly they were some how messing or interfering with the NPC
SE version 1.209.24
Server was using Torch v1.3.1.340-master (doesn't seem to be a torch thing though I know this isn't the place for that).
Partial Logs
19:40:36.3499 [FATAL] Initializer: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.AI.Pathfinding.RecastDetour.MyRDPath.CanReachTarget(Vector3D position, Single thresholdDistance)
at Sandbox.Game.AI.Pathfinding.RecastDetour.MyRDPathfinding.ReachableUnderThreshold(Vector3D begin, IMyDestinationShape end, Single thresholdDistance)
at SpaceEngineers.Game.AI.MyAstronautActions.IsTargetReachable(MyEntity entity, Vector3D targetPosition)
at SpaceEngineers.Game.AI.MyAstronautActions.FindPlayerWithinDistance(Single radius)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sandbox.Game.AI.ActionCollection.<>c__DisplayClass21_0.<ExtractAction>b__1(IMyBot x, Object[] y)
at Sandbox.Game.AI.ActionCollection.PerformAction(IMyBot bot, MyStringId actionId, Object[] args)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeActionNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeRoot.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeCollection.Update()
at Sandbox.Game.AI.MyAIComponent.Simulate()
at Sandbox.Game.World.MySession.UpdateComponents()
at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
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 Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 319
at Torch.VRageGame.Run() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 126
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.AI.Pathfinding.RecastDetour.MyRDPath.CanReachTarget(Vector3D position, Single thresholdDistance)
at Sandbox.Game.AI.Pathfinding.RecastDetour.MyRDPathfinding.ReachableUnderThreshold(Vector3D begin, IMyDestinationShape end, Single thresholdDistance)
at SpaceEngineers.Game.AI.MyAstronautActions.IsTargetReachable(MyEntity entity, Vector3D targetPosition)
at SpaceEngineers.Game.AI.MyAstronautActions.FindPlayerWithinDistance(Single radius)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sandbox.Game.AI.ActionCollection.<>c__DisplayClass21_0.<ExtractAction>b__1(IMyBot x, Object[] y)
at Sandbox.Game.AI.ActionCollection.PerformAction(IMyBot bot, MyStringId actionId, Object[] args)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeActionNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeControlBaseNode.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeRoot.Tick(IMyBot bot, MyPerTreeBotMemory botTreeMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeCollection.Update()
at Sandbox.Game.AI.MyAIComponent.Simulate()
at Sandbox.Game.World.MySession.UpdateComponents()
at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
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 Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 319
at Torch.VRageGame.Run() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 126
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
19:40:36.5700 [FATAL] Initializer: System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.AI.Pathfinding.RecastDetour.MyRDPath.CanReachTarget(Vector3D position, Single thresholdDistance)
at Sandbox.Game.AI.Pathfinding.RecastDetour.MyRDPathfinding.ReachableUnderThreshold(Vector3D begin, IMyDestinationShape end, Single thresholdDistance)
at SpaceEngineers.Game.AI.MyAstronautActions.IsTargetReachable(MyEntity entity, Vector3D targetPosition)
at SpaceEngineers.Game.AI.MyAstronautActions.FindPlayerWithinDistance(Single radius)
System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.AI.Pathfinding.RecastDetour.MyRDPath.CanReachTarget(Vector3D position, Single thresholdDistance)
at Sandbox.Game.AI.Pathfinding.RecastDetour.MyRDPathfinding.ReachableUnderThreshold(Vector3D begin, IMyDestinationShape end, Single thresholdDistance)
at SpaceEngineers.Game.AI.MyAstronautActions.IsTargetReachable(MyEntity entity, Vector3D targetPosition)
at SpaceEngineers.Game.AI.MyAstronautActions.FindPlayerWithinDistance(Single radius)
I have the same bug
Addtl. Info
Windows Server 2019 Standard
32 GB RAM
AMD Ryzen 5 7600X
Addtl. Info
Windows Server 2019 Standard
32 GB RAM
AMD Ryzen 5 7600X
Replies have been locked on this page!