FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.75k stars 405 forks source link

Crash on Audio settings change #8531

Open SlimyYoshi opened 2 years ago

SlimyYoshi commented 2 years ago

Description Trying to change the in game voice chat settings while in a lobby crashes my game. If I try to change the settings outside of a lobby/server I get ''Failed to start capturing: 40961''

Barotrauma Client crash report (generated on 15.03.2022 17:26:01)

Barotrauma seems to have crashed. Sorry for the inconvenience!

8659A3711F68C8000283D8B52F6D422B

Game version 0.16.7.0 (ReleaseWindows, branch release, revision aa4c852c2c) Graphics mode: 1920x1080 (BorderlessWindowed) VSync ON Language: English Selected content packages: Vanilla 0.9 Level seed: no level loaded Loaded submarine: None Selected screen: Barotrauma.NetLobbyScreen SteamManager initialized Client (Round hadn't been started)

System info: Operating system: Microsoft Windows NT 10.0.19044.0 64 bit GPU name: NVIDIA GeForce RTX 3070 Ti Display mode: {Width:1920 Height:1080 Format:Color AspectRatio:1,7777778} GPU status: Normal

Exception: Failed to start capturing: 40961 (System.Exception) Target site: Void .ctor(System.String) Stack trace: at Barotrauma.Networking.VoipCapture..ctor(String deviceName) in \Barotrauma\BarotraumaClient\ClientSource\Networking\Voip\VoipCapture.cs:line 149 at Barotrauma.Networking.VoipCapture.Create(String deviceName, Nullable`1 storedBufferID) in \Barotrauma\BarotraumaClient\ClientSource\Networking\Voip\VoipCapture.cs:line 71 at Barotrauma.Networking.VoipClient.SendToServer() in \Barotrauma\BarotraumaClient\ClientSource\Networking\Voip\VoipClient.cs:line 73 at Barotrauma.Networking.GameClient.Update(Single deltaTime) in \Barotrauma\BarotraumaClient\ClientSource\Networking\GameClient.cs:line 692 at Barotrauma.GameMain.Update(GameTime gameTime) in \Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 990 at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 656 at Microsoft.Xna.Framework.Game.Tick() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 504 at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\SDL\SDLGamePlatform.cs:line 94 at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 398 at Microsoft.Xna.Framework.Game.Run() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 368 at Barotrauma.Program.Main(String[] args) in \Barotrauma\BarotraumaClient\ClientSource\Program.cs:line 59

Last debug messages: [15.03.2022 17:26:01] alcCaptureStart failed: backend start failed (Failed to start recording: 0x88890003) [15.03.2022 17:26:01] WASAPI capture start failed: HRESULT 0x88890003 [15.03.2022 17:25:55] OpenAL Soft on Grensesnitt for digitallyd (2- Line 6 UX2) 57 [15.03.2022 17:25:55] OpenAL Soft on Høyttalere (2- Line 6 UX2) 41 [15.03.2022 17:25:51] Lobby created! [15.03.2022 17:25:32] Failed to set voice capture mode. {Failed to start capturing: 40961} at Barotrauma.Networking.VoipCapture..ctor(String deviceName) in \Barotrauma\BarotraumaClient\ClientSource\Networking\Voip\VoipCapture.cs:line 149 at Barotrauma.Networking.VoipCapture.Create(String deviceName, Nullable`1 storedBufferID) in \Barotrauma\BarotraumaClient\ClientSource\Networking\Voip\VoipCapture.cs:line 71 at Barotrauma.GameSettings.<>c__DisplayClass22_0.b__17(GUIComponent selected, Object userData) in \Barotrauma\BarotraumaClient\ClientSource\GameSettings.cs:line 1194 [15.03.2022 17:25:32] alcCaptureStart failed: backend start failed (Failed to start recording: 0x88890003) [15.03.2022 17:25:32] WASAPI capture start failed: HRESULT 0x88890003 [15.03.2022 17:25:27] OpenAL Soft on Grensesnitt for digitallyd (2- Line 6 UX2) 57 [15.03.2022 17:25:27] OpenAL Soft on Høyttalere (2- Line 6 UX2) 41 [15.03.2022 17:25:13] (Msg) SDR RelayNetworkStatus: avail=OK config=OK anyrelay=OK (OK) [15.03.2022 17:25:13] (Msg) Ping location: sto2=10+1,sto=12+1/10+1,ams=24+2,lhr=33+3/29+2,waw=38+3/31+1,fra=34+3/31+2,par=33+3,vie=33+3,mad=55+5/53+3,iad=102+10/109+3,sgp=193+19/194+19,gru=223+22 [15.03.2022 17:25:13] (Msg) Ping measurement completed [15.03.2022 17:25:10] (Verbose) Communications with routing cluster 'seo' established. [15.03.2022 17:25:10] (Verbose) Communications with routing cluster 'syd' established. [15.03.2022 17:25:10] (Verbose) Communications with routing cluster 'tyo1' established. [15.03.2022 17:25:10] (Msg) Relay tyo#241 (155.133.239.59:27041) is going offline in 218 seconds [15.03.2022 17:25:10] (Verbose) Communications with routing cluster 'tyo' established. [15.03.2022 17:25:10] (Verbose) Communications with routing cluster 'sgp' established. [15.03.2022 17:25:10] (Verbose) Communications with routing cluster 'scl' established. [15.03.2022 17:25:10] (Verbose) Communications with routing cluster 'lim' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'maa' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'eze' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'sea' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'jnb' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'lax' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'waw' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'vie' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'gru' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'ord' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'sto' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'sto2' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'hkg' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'bom' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'mad' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'dxb' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'par' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'lhr' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'dfw' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'iad' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'atl' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'fra' established. [15.03.2022 17:25:09] (Verbose) Communications with routing cluster 'ams' established. [15.03.2022 17:25:09] (Msg) SDR RelayNetworkStatus: avail=Attempting config=OK anyrelay=Attempting (Performing ping measurement) [15.03.2022 17:25:09] (Msg) Performing ping measurement [15.03.2022 17:25:09] (Msg) Got SDR network config. Loaded revision 372 OK [15.03.2022 17:25:09] (Warning) SDR network config fetch first attempt failed. HTTP 504. . Trying again. [15.03.2022 17:25:00] Attempting to open ALC device "OpenAL Soft on Høyttalere (2- Line 6 UX2)" [15.03.2022 17:24:59] Loaded languages: English, German, French, Russian, Polish, Brazilian Portuguese, Castilian Spanish, Latinamerican Spanish, Simplified Chinese, Traditional Chinese, Japanese, Turkish, Korean [15.03.2022 17:24:59] Loaded languages: English, German, French, Russian, Polish, Brazilian Portuguese, Castilian Spanish, Latinamerican Spanish, Simplified Chinese, Traditional Chinese, Japanese, Turkish, Korean [15.03.2022 17:24:58] Logged in as SlimyYoshi (SteamID STEAM_1:0:30119209)

Version 0.16.7.0 Windows

Additional information The same microphone worked in prior updates.

juanjp600 commented 2 years ago

Crash fixed in https://github.com/Regalis11/Barotrauma-development/commit/cc50a6a00306f7284e5d3d66d27f0d57a3a19e81, underlying error needs further investigation