space-wizards / RobustToolbox

Robust multiplayer game engine, used by Space Station 14
https://spacestation14.io
Other
551 stars 410 forks source link

Restarting server (F8) crashes it. #449

Closed PJB3005 closed 7 years ago

PJB3005 commented 7 years ago
Unhandled Exception:
System.ArgumentException: An item with the same key has already been added. Key: 463
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x001ed] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Collections/Generic/Dictionary.cs:451
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Collections/Generic/Dictionary.cs:234
  at SS14.Server.BaseServer.SendGameStateUpdate () [0x0000e] in /Users/pieterjan_briers/code/space-station-14/SS14.Server/BaseServer.cs:538
  at SS14.Server.BaseServer.Update (System.Single frameTime) [0x000d2] in /Users/pieterjan_briers/code/space-station-14/SS14.Server/BaseServer.cs:529
  at SS14.Server.BaseServer.MainLoop () [0x00124] in /Users/pieterjan_briers/code/space-station-14/SS14.Server/BaseServer.cs:331
  at SS14.Server.EntryPoint.Main (System.String[] args) [0x00088] in /Users/pieterjan_briers/code/space-station-14/SS14.Server/Program.cs:75
Acruid commented 7 years ago

Probably related to https://github.com/space-wizards/space-station-14/issues/147