audio bugging out due to voice chat
for some reason when a bunch of players are in the same location with voice chat on audio will bug the hell out, when i turn vc off the issue isnt there anymore, if the player is in a audio reverb zone it starts cutting out even more.
6 Replies
Hi @Spooky Xeva. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It sounds like you're experiencing audio issues when multiple players use voice chat in the same location, especially when Audio Reverb Zones are involved. Based on the knowledge sources:
- Voice chat in Normcore is handled by the RealtimeAvatarVoice component, which uses Unity's audio engine for playback. This means all Unity audio APIs, including spatialization and effects like reverb, are applied to the voice chat audio streams. If you have multiple players in the same spot, all their audio is spatialized and processed together, which can lead to audio artifacts or "bugging out," especially if the AudioSource settings or Unity's audio system are overloaded or misconfigured for many simultaneous sources. If you turn off voice chat, these issues disappear because the problematic audio streams are no longer present Realtime Voice Chat.
- Audio Reverb Zones in Unity can further complicate things. When many audio sources (one per player) are processed through a reverb zone, Unity's audio system may struggle, especially on lower-end hardware or with high player counts. This can cause audio to cut out or degrade, as you've described.
- WebGL Limitation: If you are running on WebGL, note that Unity's audio engine (FMOD) does not run on the web, and all voice chat audio is played directly through the browser, which may not support spatialization or reverb at all WebGL Platform Notes.
Suggestions:
- Try reducing the number of simultaneous voice chat streams in a single location, or limit the number of active microphones.
- Check your AudioSource and Reverb Zone settings in Unity. Too much reverb or too many overlapping sources can cause issues.
- If you want to customize spatialization or effects, manually add and configure the AudioSource component on your avatar prefabs. RealtimeAvatarVoice will use your custom AudioSource if present Voice Chat Spatialization.
- Consider optimizing your scene to avoid clustering too many players (and thus audio sources) in a single spot.
If the problem persists, you may want to profile your audio performance in Unity and experiment with different audio settings or limitations on the number of active voice streams.
If you need more technical troubleshooting, please provide details about your platform (e.g., standalone, WebGL), Unity version, and any custom audio settings you are using.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@892877668549271562> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
check you've not reached the maximum audio source limit
you can reduce the priority of background sounds and up the priority of voice chat
also check you aren't at the CPU limit for your device
if you have a lot of sounds you can try mixing them into a single clip
theres like 4 audio sources in the scene and they are for ambience theres 1 other audio source on the netplayer and its footsteps
ill have to get a video example some time
check you aren't dropping frames when there's lots of players near you
no, no frame drops, other players seem to have the same bug too