Crashes related to Character NPCs

Ben Garbutt shared this bug 20 days ago
Need More Information

in game crashes become more frequent, it's now crashing as it loads up.


I think this is related to NPC behaviour, There's an economy station next to my base when I'm loading in.


If you need more data let me know I an probably zip the savegame if necessary.


Logging - Custom: False, Ingame: False, Verbose: False

2026-06-12 18:00:02.994 - Thread: 1 -> Analytics ids for user ([007...005]): User = (64cb12d8-2e77-32bb-3bcd-b25fb4877e8b) Session = (7ab3ed99-bf31-413c-ab52-00958b793077).

2026-06-12 18:00:03.000 - Thread: 1 -> Sending event to ElasticSearch: WorldStart

2026-06-12 18:00:03.039 - Thread: 1 -> Session loaded

2026-06-12 18:00:03.039 - Thread: 1 -> RunLoadingAction - END

2026-06-12 18:00:03.039 - Thread: 1 -> MyGuiScreenGamePlay.LoadData - START

2026-06-12 18:00:03.039 - Thread: 1 -> MyGuiScreenGamePlay.LoadData - END

2026-06-12 18:00:03.039 - Thread: 1 -> MyGuiScreenGamePlay.LoadContent - START

2026-06-12 18:00:03.039 - Thread: 1 -> MyGuiScreenGamePlay MyGuiScreenBase.LoadContent

2026-06-12 18:00:03.039 - Thread: 1 -> MyGuiScreenGamePlay.LoadContent - END

2026-06-12 18:00:03.074 - Thread: 1 -> Updating continues.

2026-06-12 18:00:03.770 - Thread: 1 -> GC Memory: 3098.693 / 3098.693 MB

2026-06-12 18:00:04.471 - Thread: 1 -> OnEntityInitialized Stone (MyFloatingObject, 87614593567749598)

2026-06-12 18:00:04.473 - Thread: 1 -> OnEntityInitialized BuildInfo_TemporaryGrid (MyCubeGrid, 93097734576934657)

2026-06-12 18:00:04.959 - Thread: 1 -> Loading voxel 'C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Content\VoxelMaps\MediumStoneIronCoreStoneCoverage.vx2'

2026-06-12 18:00:04.979 - Thread: 1 -> Loading voxel 'C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Content\VoxelMaps\MediumStoneIronCoreStoneCoverage.vx2'

2026-06-12 18:00:04.980 - Thread: 1 -> Loading voxel 'C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Content\VoxelMaps\MediumStoneIronCoreStoneCoverage.vx2'

2026-06-12 18:00:04.982 - Thread: 1 -> Loading voxel 'C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Content\VoxelMaps\MediumStoneIronCoreStoneCoverage.vx2'

2026-06-12 18:00:04.983 - Thread: 1 -> Loading voxel 'C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Content\VoxelMaps\MediumStoneIronCoreStoneCoverage.vx2'

2026-06-12 18:00:05.234 - Thread: 1 -> Exception: 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.MyAstronautActions.GotoUntilArrival(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 SpaceEngineers.MyProgram.Main(String[] args)

2026-06-12 18:00:05.240 - Thread: 1 -> Exception occurred: 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.MyAstronautActions.GotoUntilArrival(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 SpaceEngineers.MyProgram.Main(String[] args)

at Pulsar.Legacy.Program.SetupGame(String[] args)

at Pulsar.Legacy.Program.Main(String[] args)

2026-06-12 18:00:05.240 - Thread: 1 -> InnerException:

2026-06-12 18:00:05.240 - Thread: 1 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.

at SpaceEngineers.Game.AI.MyAstronautActions.GotoUntilArrival(Single radius)

2026-06-12 18:00:05.240 - Thread: 1 -> Showing message

2026-06-12 18:00:05.241 - Thread: 1 -> MyInitializer.OnCrash

2026-06-12 18:00:05.241 - Thread: 1 -> var exception = 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.MyAstronautActions.GotoUntilArrival(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 SpaceEngineers.MyProgram.Main(String[] args)

at Pulsar.Legacy.Program.SetupGame(String[] args)

at Pulsar.Legacy.Program.Main(String[] args)

2026-06-12 18:00:06.956 - Thread: 1 ->

================================== CRASH INFO ==================================

AppVersion: 01_209_024

GameName: Space Engineers

IsOutOfMemory: False

IsGPU: False

IsNative: False

IsTask: False

IsExperimental: True

ProcessRunTime: 134

PCUCount: 24831

IsHang: False

GCMemory: 3326

GCMemoryAllocated: 3326

HWAvailableMemory: 28414

ProcessPrivateMemory: 16157

AnalyticId: SE

================================== OFNI HSARC ==================================


2026-06-12 18:00:06.956 - Thread: 1 -> Log Closed

Replies (1)

photo
1

Hello Ben,

Thank you for writing to us on our PC Support Forum.

Could you kindly share the complete game log file with us?

Also, could you please confirm whether this issue occurs when loading a modded world (with active MODs)? If so, could you try loading a new, vanilla (unmodded) world and let us know whether the issue still occurs there?

If the issue persists in either the new vanilla world or your usual modded world, please send us the complete game log file (named SpaceEngineers_) from the time the game crashed. This will help us investigate the issue further.

  • You can access your log files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers.

Kind Regards,

Keen Software House: QA Department

Leave a Comment
 
Attach a file
Access denied