Hello,
When I join a room, I am added to a 'zone' which has it's own voice group - to ensure each zones chat is private.
To handle this, on moving to the zone this code is called:
However, on entering the room I am getting this error:
"Operation ChangeGroups (248) not allowed on current server (NameServer)"
I am passing in a default value of '7' as a byte (it's what voiceGroup is set to initially).
Every time I change zone after this, the above code works perfectly and I can only hear those in my zone.
I've tried searching for what causes this, especially considering I am definitely in a photon room when the above code is called.
Any ideas?
When I join a room, I am added to a 'zone' which has it's own voice group - to ensure each zones chat is private.
To handle this, on moving to the zone this code is called:
if (updatedUser == myUser) { byte[] groupToRemove = voiceGroup; if (zoneLocations.Contains(newLocation)) { byte index = Convert.ToByte(zoneLocations.IndexOf(newLocation) + 1); voiceGroup = new byte[] { index }; PhotonVoiceNetwork.Instance.Client.OpChangeGroups(groupToRemove, voiceGroup); } PhotonVoiceNetwork.Instance.PrimaryRecorder.InterestGroup = voiceGroup[0]; }
However, on entering the room I am getting this error:
"Operation ChangeGroups (248) not allowed on current server (NameServer)"
I am passing in a default value of '7' as a byte (it's what voiceGroup is set to initially).
Every time I change zone after this, the above code works perfectly and I can only hear those in my zone.
I've tried searching for what causes this, especially considering I am definitely in a photon room when the above code is called.
Any ideas?