Space Engineers

Space Engineers

Pocket Shield Core
Casimir 27 Feb, 2022 @ 2:24pm
Server Crash
14:10:28.7593 [FATAL] Initializer: 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 PocketShieldCore.Session_PocketShieldCoreServer.ShieldManager_DropEmitter(IMyCharacter _character, Boolean _isManualEmitter)
at PocketShieldCore.Session_PocketShieldCoreServer.Character_CharacterDied(IMyCharacter _character)
at Sandbox.Game.Entities.Character.MyCharacter.DieInternal()
at Sandbox.Game.Entities.Character.MyCharacter.UpdateDying()
at Sandbox.Game.Entities.Character.MyCharacter.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 Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 316
at Torch.VRageGame.Run() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 123
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
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 PocketShieldCore.Session_PocketShieldCoreServer.ShieldManager_DropEmitter(IMyCharacter _character, Boolean _isManualEmitter)
at PocketShieldCore.Session_PocketShieldCoreServer.Character_CharacterDied(IMyCharacter _character)
at Sandbox.Game.Entities.Character.MyCharacter.DieInternal()
at Sandbox.Game.Entities.Character.MyCharacter.UpdateDying()
at Sandbox.Game.Entities.Character.MyCharacter.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 Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 316
at Torch.VRageGame.Run() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 123
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


happens everytime someone dies on the server with pocket shield in their inventory
Last edited by Casimir; 27 Feb, 2022 @ 3:12pm
< >
Showing 1-3 of 3 comments
Casimir 27 Feb, 2022 @ 3:11pm 
Actually, just happens whenever a player dies
SK  [developer] 5 Mar, 2022 @ 11:19am 
Originally posted by Casimir:
happens everytime someone dies on the server with pocket shield in their inventory
Originally posted by Casimir:
Actually, just happens whenever a player dies
Originally posted by Casimir:
Did you see my server bug report?

I'm sorry I didn't see your report for a whole week (and let your server crash) m(_ _)m
I've pushed an update, and the issue should be fixed now.
Exmortis 7 Nov, 2022 @ 5:00am 
Hey
I am having what appears to be a similar crash on Single Player
Crashes whenever an NPC from Crew Enabled is killed
Crash Log:
Exception occurred: 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 PocketShieldCore.ShieldManager.DropEmitter(IMyCharacter _character, Boolean _isManualEmitter)
at PocketShieldCore.Session_PocketShieldCoreServer.Character_CharacterDied(IMyCharacter _character)
at System.Action`1.Invoke(T obj)
at Sandbox.Game.Entities.Character.MyCharacter.DieInternal()
at Sandbox.Game.Entities.Character.MyCharacter.UpdateDying()
at Sandbox.Game.Entities.Character.MyCharacter.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)

Any idea why?
< >
Showing 1-3 of 3 comments
Per page: 1530 50