Dedicated Server crash loops on reload

Valikai shared this bug 6 months ago
Won't Fix

We are seeing an issue on dedicated server during automatic restarts where on occasion the world won't reload and we have to roll back. The error log states it is an issue with a turret controller block.


2022-04-19 19:51:30.023 - Thread: 1 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.

at SpaceEngineers.Game.Entities.Blocks.MyTurretControlBlock.EndShoot(MyShootActionEnum action)

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

at System.Action`1.Invoke(T obj)

at Sandbox.Game.Entities.MyCubeBlock.UpdateIsWorking()

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

at System.Action.Invoke()

at System.DelegateExtensions.InvokeIfNotNull(Action handler)

at Sandbox.Game.EntityComponents.MyResourceSinkComponent.SetInputFromDistributor(MyDefinitionId resourceTypeId, Single newResourceInput, Boolean isAdaptible, Boolean fireEvents)

at Sandbox.Game.EntityComponents.MyResourceDistributorComponent.RecomputeResourceDistributionPartial(MyDefinitionId& typeId, Int32 startPriorityIdx, MySinkGroupData[] sinkDataByPriority, MySourceGroupData[] sourceDataByPriority, MyTuple`2& sinkSourceData, HashSet`1[] sinksByPriority, HashSet`1[] sourcesByPriority, List`1 sinkSourcePairs, MyList`1 stockpilingStorageList, MyList`1 otherStorageList, Single availableResource)

at Sandbox.Game.EntityComponents.MyResourceDistributorComponent.RecomputeResourceDistribution(MyDefinitionId& typeId, Boolean updateChanges)

at Sandbox.Game.EntityComponents.MyResourceDistributorComponent.UpdateBeforeSimulation()

at Sandbox.Game.Entities.Cube.MyCubeGridSystems.OnAddedToGroup(MyGridLogicalGroupData group)

at Sandbox.Game.Entities.MyCubeGrid.OnAddedToGroup(MyGridLogicalGroupData group)

at Sandbox.Game.Entities.MyGridLogicalGroupData.OnNodeAdded[TGroupData](MyCubeGrid entity, TGroupData prevGroup)

at VRage.Groups.MyGroups`2.Node.set_m_group(Group value)

at VRage.Groups.MyGroups`2.MergeGroups(Group groupA, Group groupB)

at VRage.Groups.MyGroups`2.CreateLink(Int64 linkId, TNode parentNode, TNode childNode)

at Sandbox.Game.Entities.MyCubeGridGroups.CreateLink(GridLinkTypeEnum type, Int64 linkId, MyCubeGrid parent, MyCubeGrid child)

at Sandbox.Game.Entities.MyCubeBlock.OnConstraintAdded(GridLinkTypeEnum type, IMyEntity attachedEntity)

at Sandbox.Game.Entities.Blocks.MyMechanicalConnectionBlockBase.Attach(MyAttachableTopBlockBase topBlock, Boolean updateGroup)

at Sandbox.Game.Entities.Cube.MyMotorStator.Attach(MyAttachableTopBlockBase rotor, Boolean updateGroup)

at Sandbox.Game.Entities.Cube.MyMotorAdvancedStator.Attach(MyAttachableTopBlockBase rotor, Boolean updateGroup)

at Sandbox.Game.Entities.Blocks.MyMechanicalConnectionBlockBase.UpdateAttachState()

at Sandbox.Game.Entities.Blocks.MyMechanicalConnectionBlockBase.UpdateOnceBeforeFrame()

at Sandbox.Game.Entities.Cube.MyMotorStator.UpdateOnceBeforeFrame()

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

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

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

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 VRage.Dedicated.DedicatedServer.RunInternal(String instanceName)

at VRage.Dedicated.DedicatedServer.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole, Boolean checkAlive)

at VRage.Dedicated.DedicatedServer.ProcessArgs(String[] args)

at VRage.Dedicated.DedicatedServer.Run(String[] args, Action`1 initializeServices)

at SpaceEngineersDedicated.MyProgram.Main(String[] args)

2022-04-19 19:51:30.023 - Thread: 1 -> Showing message

Replies (2)

photo
1

Hello, Valikai!

Sorry to hear you're experiencing issues with this. Could you please supply a full log from when you experience this issue? Could you also confirm that you are not running any mods?

Could you also please supply the save file for the world you are experiencing issues in? You say that this happens on occasions, could you clarify how often and when this started happening?

  • You can access your save 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\Saves. There should be a folder with your SteamID and your saves.
  • Please zip the file and attach it here. If you are having difficulty attaching files you can optionally use Google Drive. When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.

Kind Regards

Laura, QA Department

photo
1

Hello, Engineer!

Because there is no new comment from you, and we are unable to reproduce the issue on our own, I will close this thread now as outdated.

If you or any other player will experience this issue again, please make a new thread and provide all needed info there.

Thank you for understanding.

Kind Regards

Keen Software House: QA Department

Leave a Comment
 
Attach a file