Voice Chat Not Respecting Proximity Distance

In my game: Farmstead [BETA] - Roblox, each player has a farm on a grid separated by 4096 studs (from center-to-center of other farms). There is also a central town area where players congregate. Beginning yesterday, I started receiving several reports that players were hearing voice chats on their farm or in town when no other players were in the area. I noticed this too, when testing myself. The voice chats appear to be at or near full volume, despite my character being isolated.

I don’t do any “magic” with characters or humanoids. I simply :LoadCharacter on join and :SetPrimaryPartCFrame when teleporting players to and from farms and the town. The game does use StreamingEnabled, with StreamOutBehavior set to Opportunistic and StreamingIntegrityMode set to PauseOutsideLoadedArea.

I am on a Windows 10 PC, Intel i5-7600k, RX 580 GPU, and 16 GB of DD4 ram. The players that have reported this have indicated that they are on PC as well, but I am unsure if it is happening on other device platforms.

9 Likes

Thanks for the report! We’ll follow up when we have an update for you

5 Likes

Hi @korky5000
We flipped back one flag that could be related to your issue. Have you been able to reproduce it since Friday?

3 Likes

I have not personally reencountered it or received any additional reports since!

2 Likes

Hi again. It looks like players are still experiencing this issue. I am getting several reports daily now, I am unsure if this is just because there are more players now, or if the issue never actually was resolved before.

It seems to happen where players teleport, possibly related to :RequestStreamAroundAsync

2 Likes

Sorry for for the late response. I didn’t get any notification.
What’s the easiest way to reproduce it in Farmstead? I guess it would be traveling to places far from each other?

2 Likes

The most common complaint is that users say they can hear voices from the town hub around this area when there are no nearby players:

This is also where players are teleported to when they visit the town. Generally, the best way to reproduce it is to join a server with many active voice chat users (which is, unfortunately, rare for Farmstead) and teleport to the town area.

2 Likes

Thanks, it’s very helpful. I’ll try to force similar conditions locally.

2 Likes

I did some further digging in a live server, and it looks like character root parts are getting disconnected during teleportation in rare cases. Unsure of the cause since I am using SetPrimaryPartCFrame everywhere, but I’d say this is likely not a voice chat issue.

I’ll keep searching through my code, as I assume this is likely an issue on my end…

2 Likes

Voice chat should work despite any mistake made by developer, so I’m still interested in finding the root cause of this issue.

2 Likes

I’m able to reproduce it. It happens, because CFrame is not updated for streamed-out models. So if you meet at the town and then you leave it first and come back later, you will still hear your friend, because his location is not changed even when he’s not there.
I’ll let you know when I have a fix for it.

4 Likes

It will be fixed in the version released on 14th of June.
Edit 06/16/23: 580 is out, but we will be able to flip flags next week (Tuesday). Sorry for the delay!
Edit 06/23/23: Flag with the fix is flipped! Let us know if you can still reproduce it.

6 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.