Turret Controllers. GPF when rotor detached.

ILoveSpaceEngineers shared this bug 20 days ago
Solved

Place a battery in space.

Place a rotor on the battery.

Place solar on the rotor.

Place a camera on the solar panel.

Setup a custom turret controller to control the rotor to track the sun.

Detach the rotor.

Delete the solar panel.

GPF.


2026-02-01 17:19:57.143 - Thread: 1 -> Closing grid request by user: [007...705]

2026-02-01 17:19:57.143 - Thread: 1 -> Info: OnGridClosedRequest removed entity '87646113926115602:Large Grid 6564' with entity id '114848301150817569'

2026-02-01 17:19:57.198 - Thread: 1 -> MyGuiScreenMessageBox MyGuiScreenBase.UnloadContent

2026-02-01 17:19:58.663 - Thread: 1 -> Exception: System.NullReferenceException: Object reference not set to an instance of an object.

at Sandbox.Game.Entities.MyCubeGridGroups.FindConnection[NNode,NSystem](NNode node, Func`4 searcher)

at Sandbox.Game.Entities.MyCubeGridGroups.FindConnection(GridLinkTypeEnum linking, IMyCubeGrid from, Func`4 searcher)

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.UpdateInverseMultiplicators()

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.LookAt(Vector3D target)

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.RotationAndElevation(Boolean& canAimAzimuth, Boolean& canAimElevation)

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.UpdateAiWeapon()

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.UpdateAfterSimulation()

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateAfterSimulation()

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation()

at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()

at Sandbox.Game.World.MySector.UpdateAfterSimulation()

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-02-01 17:19:58.665 - Thread: 1 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.

at Sandbox.Game.Entities.MyCubeGridGroups.FindConnection[NNode,NSystem](NNode node, Func`4 searcher)

at Sandbox.Game.Entities.MyCubeGridGroups.FindConnection(GridLinkTypeEnum linking, IMyCubeGrid from, Func`4 searcher)

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.UpdateInverseMultiplicators()

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.LookAt(Vector3D target)

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.RotationAndElevation(Boolean& canAimAzimuth, Boolean& canAimElevation)

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.UpdateAiWeapon()

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.UpdateAfterSimulation()

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateAfterSimulation()

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation()

at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()

at Sandbox.Game.World.MySector.UpdateAfterSimulation()

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-02-01 17:19:58.665 - Thread: 1 -> Showing message

2026-02-01 17:19:58.665 - Thread: 1 -> MyInitializer.OnCrash

2026-02-01 17:19:58.665 - Thread: 1 -> var exception = System.NullReferenceException: Object reference not set to an instance of an object.

at Sandbox.Game.Entities.MyCubeGridGroups.FindConnection[NNode,NSystem](NNode node, Func`4 searcher)

at Sandbox.Game.Entities.MyCubeGridGroups.FindConnection(GridLinkTypeEnum linking, IMyCubeGrid from, Func`4 searcher)

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.UpdateInverseMultiplicators()

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.LookAt(Vector3D target)

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.RotationAndElevation(Boolean& canAimAzimuth, Boolean& canAimElevation)

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.UpdateAiWeapon()

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.UpdateAfterSimulation()

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateAfterSimulation()

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation()

at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()

at Sandbox.Game.World.MySector.UpdateAfterSimulation()

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-02-01 17:19:59.751 - Thread: 1 ->

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

AppVersion: 01_208_015

GameName: Space Engineers

IsOutOfMemory: False

IsGPU: False

IsNative: False

IsTask: False

IsExperimental: True

ProcessRunTime: 382

PCUCount: 388206

IsHang: False

GCMemory: 2452

GCMemoryAllocated: 2452

HWAvailableMemory: 241773

ProcessPrivateMemory: 20068

AnalyticId: SE

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


2026-02-01 17:19:59.751 - Thread: 1 -> Log Closed

Replies (4)

photo
1

Hello,

Thank you for reaching our forum with this problem.

We have tried to follow the steps, but the game remains stable after this operation you describe.

Can you please provide more details?

How exactly do you build the grid in question, please? Can you share either video of you building it and then observing the issue on your side, or share us a blueprint of the grid and provide further steps to reproduce?

You can access your blueprints 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\Blueprints. Select the correct folder where your blueprint is saved (local or cloud), zip the file and attach it here.

Also please share us the full log from the affected game session so we can investigate it better on our side.

Thank you in advance.

Kind regards,

Keen Software House: QA Department

photo
1

Thanks for the response, I'll see about getting you:


A video

A blueprint.

A FullLog

photo
1

I tried to reproduce this error in the same game world... not he exact same save, and the error did not occur, so I do not know the exact combination of circumstances that cause this error, and cannot provide the data you need to investigate. I'll just give you all the stuff you asked for upfront next time.

Thanks for looking at it.

photo
1

Hello Engineer,

Thank you for your reply.

Happy to hear that you are no longer experiencing this problem.

Since there is no more assistance needed from our side, I will close this thread now.

Please do not hesitate to contact us again, should you experience this or any other issue in the game, by opening a new thread here on the forum.

Thank you for your understanding.

Happy Engineering!

Kind Regards

Keen Software House: QA Department

Leave a Comment
 
Attach a file