SoPra18-07 / Singularity

A game being created as part of our university study plan. Look forward to it!
GNU General Public License v3.0
11 stars 1 forks source link

Sometimes crashing when starting Skirmish game #601

Open fkarg opened 5 years ago

fkarg commented 5 years ago

Randomly crashing with the following stacktrace:

Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary'2[TKey,TValue].get_Item (System.Collections.Generic.TKey key) <0x4050b670 + 0x0005b> in <filename unknown>:0 at Singularity.Manager.DistributionDirector.GetManager (Int32 graphid) <0x4050b630 + 0x0002b> in <filename unknown>:0 at Singularity.Screen.SliderHandler.SetGraphId (Int32 id) <0x4050b5a0 + 0x00033> in <filename unknown>:0 at Singularity.Screen.ScreenClasses.UserInterfaceScreen.Update (Microsoft.Xna.Framework.GameTime gametime) <0x404daa20 + 0x0013b> in <filename unknown>:0 at Singularity.Screen.StackScreenManager.Update (Microsoft.Xna.Framework.GameTime gameTime) <0x4048de90 + 0x00266> in <filename unknown>:0 at Singularity.Game1.Update (Microsoft.Xna.Framework.GameTime gameTime) <0x4045c4f0 + 0x00050> in <filename unknown>:0 at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) <0x4045c470 + 0x00043> in <filename unknown>:0 at Microsoft.Xna.Framework.Game.Tick () <0x404900c0 + 0x00387> in <filename unknown>:0 at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () <0x4048fdb0 + 0x0003f> in <filename unknown>:0 at Microsoft.Xna.Framework.Game.Run (GameRunBehavior runBehavior) <0x404376c0 + 0x0020b> in <filename unknown>:0 at Microsoft.Xna.Framework.Game.Run () <0x40437660 + 0x00027> in <filename unknown>:0 at Singularity.Program.Main () <0x403abd50 + 0x0003f> in <filename unknown>:0

fkarg commented 5 years ago

This might be due to nondeterministic initialisation