Avatar voice
I have a multiplayer game where I have avatars, this is a vision Os game, some times for example if I have only two players player 1 voice can be heard by player 2 but player 2 voice cannot be heard by player 1, what could be the issue?
3 Replies
Hi @fgamez1020. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
This sounds like a common voice chat issue in Normcore. There are a few potential causes for one-way voice communication in your multiplayer VR game:
1. Microphone Permissions: The most likely cause is that player 2 might have microphone permission issues. On platforms that require explicit microphone permissions (Mac, iOS, or Android), make sure both players have granted proper permissions and that your Unity project has the correct Microphone Usage Description set. Common Questions mentions that Normcore will print error messages to the console if something fails with microphone access.
2. Default Microphone Settings: Check the default microphone device settings for player 2. Their system might be using the wrong input device or have the microphone muted at the system level.
3. RealtimeAvatarVoice Configuration: Make sure the
RealtimeAvatarVoice
component is properly set up on both player avatars. This component determines whether it should be sending or receiving audio based on the ownership of the RealtimeView component. Voice Chat documentation explains that the component needs to be on a prefab with a RealtimeView that has an owner.
4. Mute Property: Check if the mute
property on player 2's RealtimeAvatarVoice
component is accidentally set to true. This would stop them from sending audio to everyone in the room.
5. Ownership Issues: Since voice chat relies on proper ownership configuration, make sure that player 2's avatar has the correct ownership settings. The RealtimeView's ownership determines whether the voice component sends or receives audio.
For debugging, I recommend checking the player logs for any error messages related to the microphone or voice chat. The Normcore documentation specifically mentions that they "highly recommend checking your player logs for more information if audio is not working."
If you're using Meta/Oculus devices, also ensure you've properly set up the Meta Platform Prerequisites including requesting the proper platform API access permissions.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@1053407831916822528> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Usually this is an issue with microphone device initialization or hitting the voice limit in Unity
does it only happen when people leave a room and rejoin a new room?