Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MonstoBusta opened this issue Jun 2, 2024 · 48 comments

Comments

@MonstoBusta
Copy link

MonstoBusta commented Jun 2, 2024

Your system information

  • 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
@hazmat321
Copy link

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

@Megalounge
Copy link

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

@Ryuujin555
Copy link

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
Copy link
Author

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 MonstoBusta changed the title Voice chat disabled when community server changes maps Voice chat disabled after leaving server Jun 6, 2024
@MonstoBusta MonstoBusta changed the title Voice chat disabled after leaving server Voice chat disabled after leaving server, requiring a restart of the client to restore. Jun 6, 2024
@DEADLYDEVIL-IR
Copy link

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

@rcon420
Copy link

rcon420 commented Jun 6, 2024

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

@MonstoBusta MonstoBusta changed the title Voice chat disabled after leaving server, requiring a restart of the client to restore. Voice chat disabled after leaving server with a workshop map, requiring a restart of the client to restore. Jun 7, 2024
@tautuxs
Copy link

tautuxs commented Jun 7, 2024

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

@DEADLYDEVIL-IR
Copy link

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

@MonstoBusta MonstoBusta changed the title Voice chat disabled after leaving server with a workshop map, requiring a restart of the client to restore. Voice chat disabled after leaving server, requiring a restart of the client to restore. Jun 8, 2024
@MonstoBusta
Copy link
Author

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
Copy link

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

@DEADLYDEVIL-IR
Copy link

DEADLYDEVIL-IR commented Jun 11, 2024

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
Copy link

Any news on that problem?

@Ryuujin555
Copy link

Any news on that problem?

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

@nry1337
Copy link

nry1337 commented Jun 21, 2024

Valve fix that!!

@mrdiega
Copy link

mrdiega commented Jun 24, 2024

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

@tautuxs
Copy link

tautuxs commented Jun 24, 2024

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
Copy link

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

@Frozen-H2O
Copy link

Frozen-H2O commented Jun 30, 2024

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.

@tautuxs
Copy link

tautuxs commented Jun 30, 2024

Replying to #3771 (comment)

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

@Frozen-H2O
Copy link

Frozen-H2O commented Jun 30, 2024

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
Copy link

Poggicek commented Jun 30, 2024

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
Copy link

Poggicek commented Jun 30, 2024

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
Copy link
Author

MonstoBusta commented Jul 1, 2024

Replying to #3771 (comment)

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
Copy link

PyPKjE commented Jul 1, 2024

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
Copy link

DEADLYDEVIL-IR commented Jul 2, 2024

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

@Megalounge
Copy link

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

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

@PyPKjE
Copy link

PyPKjE commented Jul 4, 2024

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
Copy link

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

@tautuxs
Copy link

tautuxs commented Jul 13, 2024

At this point, Valve will never fix this bug

@itsPoipoi
Copy link

itsPoipoi commented Jul 17, 2024

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

@Megalounge
Copy link

You guys should try using this plugin on your servers. It's been working for mine.

at the end of the day, it's the community themselves dealt with this, again...

@ghostt187
Copy link

its breaking in official maps too not only workshops players cant talk.. some who can they sound like robots

@tautuxs
Copy link

tautuxs commented Aug 18, 2024

its breaking in official maps too not only workshops players cant talk.. some who can they sound like robots

The Poggicek plugin is workin fine

@ghostt187
Copy link

its breaking in official maps too not only workshops players cant talk.. some who can they sound like robots

The Poggicek plugin is workin fine

if we use that yes it works but still breaks after a few maps need to restart server.... but still need to report the problem it shoudnt be up to the community to fix this issues

@tautuxs
Copy link

tautuxs commented Aug 18, 2024

its breaking in official maps too not only workshops players cant talk.. some who can they sound like robots

The Poggicek plugin is workin fine

if we use that yes it works but still breaks after a few maps need to restart server.... but still need to report the problem it shoudnt be up to the community to fix this issues

I don't know, it's working fine, don't need any restarts

@itsPoipoi
Copy link

From my experience, if you only use Workshop maps, the plugin should work consistently. But if your map cycle includes official maps too, the fix might break and you might need to restart server/clients.

@MonstoBusta
Copy link
Author

May or may not have been fixed as of this update. Testing needed to figure it out
image

@DEADLYDEVIL-IR
Copy link

Took them 4month to fix, I think they're having some sort of 4month delay to listen to the community.

@ghostt187
Copy link

still an issue reopen this

@ghostt187
Copy link

@MonstoBusta

@DEADLYDEVIL-IR
Copy link

@MonstoBusta

The bug is fixed ( At least for me ), You probably should test out some stuff to find the exact cause of the bug and open a new issue or Valve developers won't be able to fix the issue without knowing what's causing it

@clausdk
Copy link

clausdk commented Dec 6, 2024

Nope it still does not work. On my cs2 community server it started happening after i started using workshop maps. People have to restart the game for the voice to work again. Also sometimes people cant hear other people. It's a really strange bug.

@kponiedzialek
Copy link

Yeah this issue is still there, I think it came back at some point

@MonstoBusta MonstoBusta reopened this Jan 14, 2025
@DarkRTA
Copy link

DarkRTA commented Jan 24, 2025

I'm running into this and my current workaround is to use MultiAddonManager to keep a workshop addon loaded at all times. Something seems to go horribly wrong whenever all workshop addons are unmounted as forcing one to always stay loaded will cause the bug with sounds/servervoice.vsnd_c to never trigger.

Do note if you use SourceTV, loading this addon will cause your server to hang.

@tautuxs
Copy link

tautuxs commented Feb 27, 2025

It's been half a year and still this bug isn't fixed

@tautuxs
Copy link

tautuxs commented Feb 28, 2025

New update been released, maybe it fixed it

Image

@MonstoBusta
Copy link
Author

Apparently, according to comments on another more recent report, it's still not fixed #3980 (comment)

@clausdk
Copy link

clausdk commented Mar 5, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests