So I wanted to try and make a multiplayer game with proximity voice chat and I am using NGO with relay for that, that part works fine. The issue appears when I try joining positional channels.
Whenever I join the channel, it appears as one of the active channels and seems to be working fine. However, when someone else tries to join, the channel does not appear to exist for them (I periodically check that with this piece of code)
Debug.Log("Channels available: ");
foreach ( var property in VivoxService.Instance.ActiveChannels )
{
Debug.Log($"Channel key: {property.Key} count: {property.Value.Count}");
foreach ( var participant in property.Value)
{
Debug.Log($"Participant {participant.DisplayName}");
}
}
Debug.Log("Finished displaying channels");
The channel just doesn´t seem to exist for other users, and if they try to join, they can only see their own channel and it says only they are connected to such channel.
I already tried it with Group channels and it works just fine, so I am guessing the issue is with posisitional channels only.
Here is my join logic:
private static async Task JoinVivoxChannel(string id)
{
id = id.ToUpper();
var channelProperties = new Channel3DProperties();
var channelOptions = new ChannelOptions();
Debug.Log($"Trying to join channel {id}");
await VivoxService.Instance.JoinPositionalChannelAsync(id, ChatCapability.AudioOnly, channelProperties, channelOptions);
}
The id used is the relay code given by relay itself and I also checked any potential desyncs there, but it is the same on every version.
Any ideas why might this be? Am I doing something wrong?
Just in case, I already checked this similiar thread: Resolved - Problem in implementing Vivox Positional channels - Unity Forum However, it seems to be in an old version since I can´t implement the mentioned code and this doc: Vivox Unity SDK 16.0.0 upgrade guide also suggests that I am in a newer version of the package