ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
767 stars 68 forks source link

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

Open MonstoBusta opened 1 month ago

MonstoBusta commented 1 month ago

Your system information

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
hazmat321 commented 1 month ago

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

Megalounge commented 1 month ago

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

Ryuujin555 commented 1 month ago

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.

MonstoBusta commented 1 month ago

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

DEADLYDEVIL-IR commented 4 weeks ago

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

rcon420 commented 4 weeks ago

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

Tautvydas3 commented 4 weeks ago

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

DEADLYDEVIL-IR commented 4 weeks ago

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

MonstoBusta commented 3 weeks ago

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.

Ryuujin555 commented 3 weeks ago

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

DEADLYDEVIL-IR commented 3 weeks ago

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

ssypchenko commented 2 weeks ago

Any news on that problem?

Ryuujin555 commented 2 weeks ago

Any news on that problem?

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

nry1337 commented 2 weeks ago

Valve fix that!!

mrdiega commented 1 week ago

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

Tautvydas3 commented 1 week ago

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.

DEADLYDEVIL-IR commented 6 days ago

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

Frozen-H2O commented 5 days ago

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.

Tautvydas3 commented 5 days ago

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

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

Frozen-H2O commented 5 days ago

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.

Poggicek commented 5 days ago

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 commented 5 days ago

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.

MonstoBusta commented 4 days ago

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?

PyPKjE commented 3 days ago

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...

DEADLYDEVIL-IR commented 2 days ago

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

Megalounge commented 2 days ago

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

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

PyPKjE commented 1 day ago

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?!

DEADLYDEVIL-IR commented 1 day ago

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