Crash during encounter spawn

AccidentallyTheCable shared this bug 55 days ago
Need More Information

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 (1)

photo
1

Hello,


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

photo
1

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

photo
1

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

photo