Voice chat breaks after unloading a workshop map.
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.
- Load any workshop map offline.
- Type
voice_loopback trueinto the console. - Try speaking, you should hear yourself.
- Load any official map offline.
- Type
voice_loopback trueinto the console. - Try speaking, you will not hear yourself this time and will see the game failing to load
sounds/servervoice.vsnd_cin the console.
System information
This bug has been confirmed to occur on Windows clients although I am testing on a NixOS machine.
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 3600 6-Core Processor
Operating System Version:
"NixOS 25.05 (Warbler)" (64 bit)
Kernel Name: Linux
Kernel Version: 6.6.71
Video Card:
Driver: AMD AMD Radeon RX 7600 XT (radeonsi, navi33, LLVM 19.1.5, DRM 3.54, 6.6.71)
Driver Version: 4.6 (Compatibility Profile) Mesa 24.3.3
Memory:
RAM: 15915 Mb
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)
Can confirm, this issue also exists in Windows. @kisak-valve
Thanks for the excellent bug report! We are working on a fix.
Hi Dan, is this still being worked on at all? 3 weeks seems like a bit of a long time for a fix unless this is a really tricky problem to solve.
Hi Dan, is this still being worked on at all? 3 weeks seems like a bit of a long time for a fix unless this is a really tricky problem to solve.
I will check in with the folks that were working on fixing this.
So we do have a fix for this, it just hasn't shipped yet. It should be in the next client update.
I just retested after today's update and it is unfortunately still broken after following the exact steps I gave to reproduce, along with testing on a dedicated server with another player running windows.
Did this not ship despite being in the patch notes?
The fix was shipped, but it sounds like it's not working. I'll check in with the team. Thanks for the update.
Hi Dan, is this still being worked on at all?
https://github.com/ValveSoftware/csgo-osx-linux/issues/3771
For me it's still not fixed - my comment from that other report: "Yup, still not fixed. For me its like this: Start server > play default map > Switch to Workshop map > Switch back default maps > Voice stops working. People have to restart the game."
Dan? It's been a month and still no fix for this problem. Was this left over, never to be fixed?
@danginsburg Hi? Almost 4 months and it's still not fixed.
hi , my server is suffering from the same issue.
@danginsburg can we have an update on this? It's been 3 months now officially.
Alright since Valve is not working on a fix..Let's contact the guy who made the old fix and see what he thinks. Otherwise lets try and see if we can find a solution in form of a plugin for CounterStrikeSharp