You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When playing a workshop map in CS2, voice chat will break after returning to the main menu and loading an official map, requiring a game restart in order to fix. This seems to be caused by the resource system getting confused and being unable to reload sounds/servervoice.vsnd_c
Steps to reproduce.
Load any workshop map offline.
Type voice_loopback true into the console.
Try speaking, you should hear yourself.
Load any official map offline.
Type voice_loopback true into the console.
Try speaking, you will not hear yourself this time and will see the game failing to load sounds/servervoice.vsnd_c in the console.
System information
This bug has been confirmed to occur on Windows clients although I am testing on a NixOS machine.
This is caused by the game purging all sounds whenever all workshop addons are unloaded.
Since servervoice.vsnd_c seems to be created by the voice system on init and not loaded from a file, the voice system ends up being unable to find it whenever it goes to play back any voice chat.
Patching libsoundsystem.so to not unload sounds on addon unmount (requires -insecure) avoids this bug entirely.
[EngineServiceManager] Unmounting addon '3075706807'
[SoundSystem] Addon unloaded, unloading sound resources. <--- bug occurs here
// later when the game needs to play voice chat
[ResourceSystem] Failed loading resource "sounds/servervoice.vsnd_c" (ERROR_FILEOPEN: File not found)
Description
When playing a workshop map in CS2, voice chat will break after returning to the main menu and loading an official map, requiring a game restart in order to fix. This seems to be caused by the resource system getting confused and being unable to reload
sounds/servervoice.vsnd_c
Steps to reproduce.
voice_loopback true
into the console.voice_loopback true
into the console.sounds/servervoice.vsnd_c
in the console.System information
This bug has been confirmed to occur on Windows clients although I am testing on a NixOS machine.
The text was updated successfully, but these errors were encountered: