Mannatwo / Neurotrauma

A medical overhaul mod for Barotrauma, the 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
21 stars 34 forks source link

Game crashes about 15 minutes after killing a human entity [BUG] [CRASH] #70

Open Cryorm opened 10 months ago

Cryorm commented 10 months ago

Describe the bug Game crashes after approximately 15 minutes after killing a human entity.

To Reproduce Steps to reproduce the behavior:

  1. Kill a human entity.
  2. Wait.
  3. Crash

Screenshots If applicable, add screenshots to help explain your problem.

Neurotrauma version and addons in use

Additional information Tested my mod list, figured out it was Neurotrauma causing the issue, but ONLY AFTER 2 JANUARY UPDATE. Found a similar exception trace on the game source code's bug report, only similarity we had with mod list was NT. Removed NT, game no longer crashed.

Debug log below.

Exception: Collection was modified; enumeration operation may not execute. (System.InvalidOperationException) Target site: Void ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion() Stack trace: at Barotrauma.MapEntity.UpdateAll(Single deltaTime, Camera cam) in \Barotrauma\BarotraumaShared\SharedSource\Map\MapEntity.cs:line 654 at Barotrauma.GameScreen.Update(Double deltaTime) in \Barotrauma\BarotraumaShared\SharedSource\Screens\GameScreen.cs:line 246 at Barotrauma.GameMain.Update(GameTime gameTime) in \Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 863 at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 656 at Microsoft.Xna.Framework.Game.Tick() in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 500 at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\SDL\SDLGamePlatform.cs:line 93 at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 397 at Microsoft.Xna.Framework.Game.Run() in E:\Barotrauma-development\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 367 at Barotrauma.Program.Main(String[] args) in \Barotrauma\BarotraumaClient\ClientSource\Program.cs:line 58