Changing graphics settings disables voice chat
What happened?
When in multiplayer, changing the display mode (going from borderless to fullscreen, etc.), changing the resolution, or disabling/enabling vsync will disable voice chat until the settings menu is opened again. This occurs when using either push-to-talk or voice activity.
Disclaimer - I am not certain that it actually disables voice chat, but this does remove the little bubble above your character's head, so it's impossible to tell whether you are speaking or not.
Reproduction steps
- Host a multiplayer game
- Open the settings menu, and change the game's resolution
- Hit "accept"
- Observe that pressing the push-to-talk key or talking into your mic will not show the speech bubble above your head
- Open the settings menu
- Close the settings menu
- Observe that the speech bubble has returned
Single player or multiplayer?
Only occurs in multiplayer
Version
Stable (v1.0.21.0) & Unstable (v1.1.11.0)
Which operating system did you encounter this bug on?
Windows
Tested in v1.0.21.0
Reproduced this following the provided steps. The speech bubble above the players head and the audio indicator in the crew list do not appear after changing the resolution settings. Changing other graphical settings or audio ones didn't cause any problems, it just seems to be limited to the resolution change.
https://github.com/Regalis11/Barotrauma/assets/135589009/b6bb1750-de07-4e6c-b194-9ee571d581c7
Sending to be further investigated by the devs.
Fixed in https://github.com/FakeFishGames/Barotrauma-development/commit/2b1df85ba400673e7285d01c284b9a9ac962cb3b
Tested, working correctly. Can be merged and closed.