Voice problems
What are the factors that may affect the RealtimeAvatarVoice from working? When I connect two or more clients, some of them can listen to what others say, and others do not hear anything. The avatars have the RealtimeAvatarVoice component attached
6 Replies
Hi @juanje89. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
There are several factors that could affect RealtimeAvatarVoice functionality when some clients can hear others but not vice versa. Based on the knowledge sources, here are the potential issues:
1. Microphone permissions: Make sure all clients have proper microphone permissions. On platforms like Mac, iOS, or Android, you need to set the Microphone Usage Description correctly in Unity and ensure permissions are granted Common Questions - Voice Chat.
2. Ownership issues: RealtimeAvatarVoice requires the RealtimeView component to have an owner. The component uses this ownership to determine if it should be sending audio (locally owned) or receiving audio (remotely owned) Voice Chat.
3. Mute settings: Check if the
mute
property is enabled on any RealtimeAvatarVoice components. If a local player is muted, they won't send audio to anyone. If a remote player is muted, only the local client won't hear them Voice Chat.
4. Default microphone device: Verify that the correct default microphone device is selected on all clients Common Questions - Voice Chat.
5. AudioSource configuration: RealtimeAvatarVoice creates an AudioSource if one isn't present, but if you've added your own, make sure it's properly configured Voice Chat.
6. Network conditions: Normcore adjusts audio quality based on connection quality. Poor network conditions might affect voice transmission High Quality, Low Latency, Audio & Video.
7. Platform-specific issues: If you're using WebGL, note that voice chat spatialization doesn't work on the web due to Unity's audio engine limitations WebGL.
I recommend checking your player logs for error messages, as Normcore will print errors to the console if something fails with the voice chat system Common Questions - Voice Chat.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@759006240646103041> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
We discussed a potentially similar issue here: https://discord.com/channels/393839515074297858/1294775072560775242/1295217430842441851
There was a fix in 2.13.2, but i haven't updated myself to see if it solved the problem. But if you're below that version it'd be worth updating
I'm using 2.15.0 (well, 2.15.1 right now, I just updated it), and it's quite weird. I also want to check if it is because of the network
If you don’t hear anything at all, it’s probably not network. Is one person’s voice broken for everyone in the room or just one person?
If some people can hear someone and others can’t it’s often a Unity playback voices limit issue. If no one can hear them, it’s usually an issue with binding to the device microphone
what platform are you on?
I'm not sure what could be the issue. Today I did a test and we could hear each other. It seems to be related to the microphone configuration of each machine. It seems to be working "always" when using headphones and the computer's mic. We're building for Mac, Windows and Linux
Another issue I saw (on Linux) is that I could listem myself from the other machine