Original Post — Direct link

I be been experiencing a problem whit Barotrauma whit the last update of the BTE pack. Evrytime I try to run Barotrauma whit the BTEv8.1. selected,it crashes as soon as I start running the game,I don't know why this would happen or how could I fix It.

Does anybody have any possible solution to this problem?

Edit:It's doesn't happen just when I use the BTE pack,aslo when Using the Vanilla pack,It crashes the same way,so theres no possible way for me to play Barotrauma for the moment,can anyone please tell me any solution to this problem?

By the way,here I pasted the Crash report:

Barotrauma Client crash report (generated on 12/28/2018 1:32:33 AM)

Barotrauma seems to have crashed. Sorry for the inconvenience!

Game version 0.8.2.3 Graphics mode: 1024x768 (Windowed) Selected content package: Vanilla 0.8 Level seed: no level loaded Loaded submarine: None Selected screen: None

System info: Operating system: Microsoft Windows NT 6.2.9200.0 64 bit GPU name: Intel(R) HD Graphics 4000 Display mode: {Width:1024 Height:768 Format:Color AspectRatio:1.333333} GPU status: Normal

Exception: Loading was interrupted due to an error Target site: Void Update(Microsoft.Xna.Framework.GameTime) Stack trace: at Barotrauma.GameMain.Update(GameTime gameTime) in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\GameMain.cs:line 473 at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) at Microsoft.Xna.Framework.Game.Tick() at MonoGame.Framework.WinFormsGameWindow.RunLoop() at MonoGame.Framework.WinFormsGamePlatform.RunLoop() at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) at Barotrauma.Program.Main() in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\Program.cs:line 42

Last debug messages: [12/28/2018 1:32:33 AM] Coroutine Barotrauma.GameMain+d70 threw an exception: The type initializer for 'GameAnalyticsSDK.Net.Threading.GAThreading' threw an exception. at GameAnalyticsSDK.Net.Threading.GAThreading.get_Instance() at GameAnalyticsSDK.Net.Threading.GAThreading.PerformTaskOnGAThread(String blockName, Action taskBlock, Int64 delayInSeconds) at GameAnalyticsSDK.Net.GameAnalytics.ConfigureBuild(String build) at Barotrauma.GameAnalyticsManager.Init() in E:\Barotrauma\Barotrauma\BarotraumaShared\Source\GameAnalyticsManager.cs:line 21 at Barotrauma.GameMain.InitUserStats() in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\GameMain.cs:line 295 at Barotrauma.GameMain.d70.MoveNext() in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\GameMain.cs:line 308 at Barotrauma.CoroutineManager.IsDone(CoroutineHandle handle) in E:\Barotrauma\Barotrauma\BarotraumaShared\Source\CoroutineManager.cs:line 104

And heres the Crash report while using the BTE Package:

Barotrauma Client crash report (generated on 12/28/2018 1:42:01 AM)

Barotrauma seems to have crashed. Sorry for the inconvenience!

Game version 0.8.2.3 Graphics mode: 1024x768 (Windowed) Selected content package: BTE 8.1 Level seed: no level loaded Loaded submarine: None Selected screen: None

System info: Operating system: Microsoft Windows NT 6.2.9200.0 64 bit GPU name: Intel(R) HD Graphics 4000 Display mode: {Width:1024 Height:768 Format:Color AspectRatio:1.333333} GPU status: Normal

Exception: Loading was interrupted due to an error Target site: Void Update(Microsoft.Xna.Framework.GameTime) Stack trace: at Barotrauma.GameMain.Update(GameTime gameTime) in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\GameMain.cs:line 473 at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) at Microsoft.Xna.Framework.Game.Tick() at MonoGame.Framework.WinFormsGameWindow.RunLoop() at MonoGame.Framework.WinFormsGamePlatform.RunLoop() at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) at Barotrauma.Program.Main() in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\Program.cs:line 42

Last debug messages: [12/28/2018 1:42:00 AM] Coroutine Barotrauma.GameMain+d70 threw an exception: The type initializer for 'GameAnalyticsSDK.Net.Threading.GAThreading' threw an exception. at GameAnalyticsSDK.Net.Threading.GAThreading.get_Instance() at GameAnalyticsSDK.Net.Threading.GAThreading.PerformTaskOnGAThread(String blockName, Action taskBlock, Int64 delayInSeconds) at GameAnalyticsSDK.Net.GameAnalytics.ConfigureBuild(String build) at Barotrauma.GameAnalyticsManager.Init() in E:\Barotrauma\Barotrauma\BarotraumaShared\Source\GameAnalyticsManager.cs:line 21 at Barotrauma.GameMain.InitUserStats() in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\GameMain.cs:line 295 at Barotrauma.GameMain.d70.MoveNext() in E:\Barotrauma\Barotrauma\BarotraumaClient\Source\GameMain.cs:line 308 at Barotrauma.CoroutineManager.IsDone(CoroutineHandle handle) in E:\Barotrauma\Barotrauma\BarotraumaShared\Source\CoroutineManager.cs:line 104

External link →
over 5 years ago - /u/Regalis11 - Direct link

Sorry for the late response, I don't check this subreddit as often as I should...

In case you haven't found a solution to this yet, I believe you can fix it by disabling GameAnalytics. Normally you would be able to do so by selecting "no" when the game asks you on startup whether to send analytics to the developers, but since you can't launch the game, you need to change senduserstatistics="true" to senduserstatistics="false" in the config.xml file inside the game's folder.

I'm not 100% what exactly is causing the GameAnalytics extension to throw this error, but I'll look into it and try to make sure this doesn't happen in the future. Thanks for the report!