Crash during encounter spawn

AccidentallyTheCable shared this bug 15 months ago
Won't Fix

Sporadic, but this is the second time its happened.

2020-08-30 11:12:43.009 - Thread:   1 ->  Exception occured: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Sandbox.Game.EntityComponents.MyResourceDistributorComponent.InitializeNewType(MyDefinitionId& typeId)
   at Sandbox.Game.EntityComponents.MyResourceDistributorComponent.AddSinkLazy(MyResourceSinkComponent sink)
   at Sandbox.Game.EntityComponents.MyResourceDistributorComponent.CheckDistributionSystemChanges()
   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(MyCubeGrid entity)
   at VRage.Groups.MyGroups`2.Node.set_m_group(Group value)
   at VRage.Groups.MyGroups`2.AddNode(TNode nodeToAdd)
   at Sandbox.Game.Entities.MyCubeGrid.OnAddedToScene(Object source)
   at Sandbox.Game.Entities.MyEntities.Add(MyEntity entity, Boolean insertIntoScene)
   at Sandbox.Game.World.MyPrefabManager.CreateGridsData.OnGridsCreated(WorkData workData)
   at ParallelTasks.Parallel.RunCallbacks()
   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)

Comments (3)



I have manually spawned all the encounters and it does not crash for me.

Can you send us a saved world where it is hapenning?

Do you have any mods running?

Please provide as much information as you can.

Thanks for your cooperation and have a nice day,

Keen QA


As I mentioned its very very sporadic; like, 1 out of 100 world loads. it also tends to happen closer to world load rather than throughout gameplay, so I think its occurring during automatic spawning as the world loads


Hello, I know about this problem. @AccidentallyTheCable what mods do you use? Do you use mods with custom gas? Or it is vanilla?


Hello, AccidentallyTheCable!

I appreciate this thread is quite old. Is this still an issue that persists with you or, has it since been resolved? I will close this if you no longer face the issue :)

Kind Regards

Laura, QA Department


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