csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Voice chat disabled after leaving server, requiring a restart of the client to restore.

Open MonstoBusta opened this issue 1 year ago • 36 comments

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist: https://gist.github.com/MonstoBusta/92b2dce9aaaaa1cfd2d7b0a290a59996
  • Have you checked for system updates?: No

Please describe your issue in as much detail as possible:

Expected behavior: I can join community servers with voice chat enabled the whole time. Actual behavior: Voice chat is disabled when a community server changes maps or upon leaving in some cases. This happens even in a completely vanilla server. IDK where to find the relevant logs for this issue since it doesn't crash the game, sorry! Voice chat can be partially restored while "Hear My Own Voice" is turned on in audio settings. It is crackly, but I believe this is due to loopback having a higher sample rate than voice chat. Once the issue occurs, the only way to permanently restore voice chat is to restart the game; leaving a server and rejoining does not restore voice chat once it is gone, although voice chat is kept if disconnected using console before map change in some instances. This bug seems to have been added in the Fire Sale update.

Steps for reproducing this issue:

  1. Join a server with voice chat enabled
  2. Stay on the server when the game ends and changes maps (or merely disconnect from some servers)
  3. Attempt to use voice chat on new map, seeing if it works or not

MonstoBusta avatar Jun 02 '24 20:06 MonstoBusta

Also happens sometimes when you leave/crash from a competitive game and rejoin.

hazmat321 avatar Jun 04 '24 03:06 hazmat321

can confirm this, when you have voice_loopback true, you can't even hear your own voice

Megalounge avatar Jun 04 '24 07:06 Megalounge

I confirmed that I had so many reports from the server that I thought it was something with the server and I had to reinstall everything step by step, the maximum I managed to achieve was 5 maps in rotation without errors in microphone communication and so it crashes for everyone after changing the map and only turning the game off and on helps...eveything started after 25.05.2024 game update.

Ryuujin555 avatar Jun 04 '24 16:06 Ryuujin555

Update: turning on "Hear My Own Voice" in audio settings sometimes restores voice chat, albeit in a very distorted manner. The original issue will be edited to account for this, and a video demonstration will be provided here: https://youtu.be/QQar8X7b6CA

MonstoBusta avatar Jun 05 '24 05:06 MonstoBusta

this issue happens on workshop servers for me, everything works fine on official maps.

DEADLYDEVIL-IR avatar Jun 06 '24 14:06 DEADLYDEVIL-IR

this issue happens on workshop servers for me, everything works fine on official maps.

don't worry we will get an fix in 4 years like with the fake servers

rcon420 avatar Jun 06 '24 21:06 rcon420

This bug happens to me for official maps too. For example only on Vertigo but not other maps.

tautuxs avatar Jun 07 '24 14:06 tautuxs

The server you play on probably has multiaddonmanager plugin or something that loads workshop content before you join

DEADLYDEVIL-IR avatar Jun 07 '24 19:06 DEADLYDEVIL-IR

I've been told it happens on both vanilla servers and maps, so I'm keeping the title what it is now to be accurate to everyone's experience with the bug so far.

MonstoBusta avatar Jun 09 '24 00:06 MonstoBusta

It even happen when you use workshop for addons such music,sounds,models overall there is an problem with workshop usage

Ryuujin555 avatar Jun 11 '24 15:06 Ryuujin555

I bet it won't be fixed even when this issue gets 1000 likes

edit: they did some changes but still buggy on my server

DEADLYDEVIL-IR avatar Jun 11 '24 22:06 DEADLYDEVIL-IR

Any news on that problem?

ssypchenko avatar Jun 19 '24 17:06 ssypchenko

Any news on that problem?

no, problem still exist and it's almost a month...with is a bit joke

Ryuujin555 avatar Jun 19 '24 18:06 Ryuujin555

Valve fix that!!

nry1337 avatar Jun 21 '24 09:06 nry1337

Still not fixed. Some players can't hear others after joining a server or after changing maps. Players with this problem have to completely restart the game and join the server again

mrdiega avatar Jun 24 '24 19:06 mrdiega

Still not fixed. Some players can't hear others after joining a server or after changing maps. Players with this problem have to completely restart the game and join the server again

This is irrelevant, because the author of this post wrote the exact same problem.

tautuxs avatar Jun 24 '24 19:06 tautuxs

This issue was posted 27days ago and still after 10gb's of update still waiting for it to be fixed

DEADLYDEVIL-IR avatar Jun 29 '24 09:06 DEADLYDEVIL-IR

This issue is not actually related to map swaps other than simply because they cause a client to disconnect. It is caused by hearing a player speaking (including yourself with voice_loopback true) while on a workshop map, then disconnecting.

Steps to reproduce (happens 100% of the time from my testing): 1. Load a workshop map. This can be done on both a listenserver (through the main menu) or a dedicated server (through the use of host_workshop_map) and the specific workshop map should not matter. 2. Hear a player speaking. For testing purposes, I use voice_loopback true in console and then speak, but hearing a different player has the same effect. 3. Disconnect from the workshop map. For testing, I specifically used disconnect in console for this step. 4. Join any map (does not have to be a workshop map anymore), and you can no longer hear voice chat. Attempting to talk with voice_loopback true will even result in your own voice being muted. For testing, I specifically used map de_dust2 in console for this step.

Frozen-H2O avatar Jun 30 '24 07:06 Frozen-H2O

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3771#issuecomment-2198470773

It's another issue. You should create another seperate post

tautuxs avatar Jun 30 '24 11:06 tautuxs

It's another issue. You should create another seperate post

No, it isnt. When a map swaps, all clients are disconnected with the reason NETWORK_DISCONNECT_SHUTDOWN and then automatically reconnected to the server. Since, as I described, a disconnect at all after hearing a player speaking while having a workshop map loaded causes your voice chat to break, a map change satisfies that condition.

In addition, if you are using a community server plugin such as MultiAddonManager to load a workshop addon while playing on a Valve map (for custom server assets or whatever), that is the same situation as simply playing on a workshop map. As such, players will still encounter the bug after hearing a player speak and then disconnecting.

Frozen-H2O avatar Jun 30 '24 17:06 Frozen-H2O

Voice chat can be partially restored while "Hear My Own Voice" is turned on in audio settings

In addition to this, this is because when you leave a workshop map after hearing someone talking your sounds/servervoice.vsnd instance will break, the "Hear My Own Voice" feature however uses a seperate sounds/voip_loopback.vsnd. That means if you use the "Hear My Own Voice" in settings on a workshop map and disconnect then that will also be broken.

Poggicek avatar Jun 30 '24 17:06 Poggicek

I also don't believe this issue is platform dependent (would be great if any linux users could verify) as the bug seems to be coming from platform independent logic.

Poggicek avatar Jun 30 '24 17:06 Poggicek

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3771#issuecomment-2198470773

This is a much more coherent explanation of what was otherwise a complete enigma to most of us. Should I update my issue again to have this info?

MonstoBusta avatar Jul 01 '24 00:07 MonstoBusta

This is a very strange problem and many people say that old CS2 server builders don't have this problem when using workshop maps, I have the feeling that after some CS2 update some files started to get corrupted on the voice acting workshop maps, I'm new to CS2 and I'm still having this problem and I can't use the workshop maps :/ Pleas fix...

PyPKjE avatar Jul 01 '24 23:07 PyPKjE

Maybe a full reinstall of the game or server will fix the issue

DEADLYDEVIL-IR avatar Jul 02 '24 23:07 DEADLYDEVIL-IR

Maybe a full reinstall of the game or server will fix the issue

that's a big maybe, not really worth a try

Megalounge avatar Jul 03 '24 02:07 Megalounge

Maybe a full reinstall of the game or server will fix the issue

Attempts have been made to overwrite the new server files on both the Linux Debian and Unbuntu operating systems, how long will the server community wait for a FIX?!

PyPKjE avatar Jul 04 '24 01:07 PyPKjE

Next summer maybe? I think other people will find a way to fix that since valve is trying to add more useless maps rather than fixing a simple bug that exists for 1month

DEADLYDEVIL-IR avatar Jul 04 '24 15:07 DEADLYDEVIL-IR

At this point, Valve will never fix this bug

tautuxs avatar Jul 13 '24 18:07 tautuxs

You guys should try using this plugin on your servers. It's been working for mine. Edit: It's made by @Poggicek who's talked here already, and makes a bunch of great work for the CS2 community and content creators. Edit2: I think it helped avoid the bug for a few games after a game restart but the issue seems to always come back. YMMV

itsPoipoi avatar Jul 17 '24 12:07 itsPoipoi