Space Engineers

Space Engineers

Simon Mk3 [Planet Miner] No Mod
Ship Mode Crashes the server.
Have an issue with the ship crashing my dedicated server.
Happens when i use the Cruise/Mining Modes

ERROR
Exception occured: 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 SpaceEngineers.Game.AI.MyWolfActions.GetTargetWithPriority(Single radius, MyBBMemoryTarget& outTarget, MyBBMemoryInt& priority)
--- 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__DisplayClass6.‹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.MyBehaviorTreeDecoratorNode.TickChild(IMyBot bot, MyPerTreeBotMemory botTreeMemory, MyBehaviorTreeDecoratorNodeMemory thisMemory)
at Sandbox.Game.AI.BehaviorTree.MyBehaviorTreeDecoratorNode.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__DisplayClass1.‹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 VRage.Dedicated.DedicatedServer.RunInternal()
at VRage.Dedicated.DedicatedServer.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole)
at VRage.Dedicated.WindowsService.MainThreadStart(Object obj)
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(Object obj)
2016-12-03 19:04:04.586 - Thread: 6 -› InnerException:
2016-12-03 19:04:04.586 - Thread: 6 -› Exception occured: System.NullReferenceException: Object reference not set to an instance of an object.
at SpaceEngineers.Game.AI.MyWolfActions.GetTargetWithPriority(Single radius, MyBBMemoryTarget& outTarget, MyBBMemoryInt& priority)
Last edited by [STK] bigsteve; 3 Dec, 2016 @ 10:47am
< >
Showing 1-3 of 3 comments
[STK] bigsteve 3 Dec, 2016 @ 10:12am 
well that spoiler tag was not what i was expecting
Penz  [developer] 17 Dec, 2016 @ 10:15am 
Hi bigsteve, thank you very much for the feedback.

This design is pretty old, and it has not been updated with since the new patch comes around so some component of the ship might have been obsoleted by the patch. I wont be inside the game until probably sometime after New Year since I am taking a long break right now.

So, the only option you have at the moment is to just rebuild it using the design (and of course, the hard part is the statemachine). Or in case your server has a mod installed, try setup another one without a mod and test this again. It might be a mod issue.

Good luck and fly safe :)
Penz  [developer] 9 Jan, 2017 @ 5:05am 
Hi bitsteve, I've tested run the craft on my vanilla survival. It appears that what is crashing the server is the ship's projection of itselfs that was turned on for maintenance purposes. If you turn that off, it should works perfectly fine.

Please let me know if turning the projection off solved your issues. Thank you.
< >
Showing 1-3 of 3 comments
Per page: 1530 50