PhotonNetwork.SetInterestGroups will affect RPC call multiple times
Options
zerochd
✭
Hi,
I'm testing Photon "Interest Groups".Then I found When I Called PhotonNetwork.SetInterestGroups(1,true) more times.
The client will receive multiple RPC or RaiseEvent calls from photonView with group 1(Other Client).
Is the result correct?
I'm testing Photon "Interest Groups".Then I found When I Called PhotonNetwork.SetInterestGroups(1,true) more times.
The client will receive multiple RPC or RaiseEvent calls from photonView with group 1(Other Client).
Is the result correct?
0
Comments
-
Hi @JohnTube ,
I'm using PUN2.12.
And Photon Server version:4.0.29.11263.
I did some testing later.I think the problem is on the local photon server.Cloud is ok.
Here are my report steps on local server:
1.I called PhotonNetwork.SetInterestGroups(1,true) on Client A.
2.I called PhotonNetwork.SetInterestGroups(1,true) again on Client A.
3.In Client B,I set photonView.Group = 1;
4.Client B Call RaiseEvent.
Expected Behaviour:Client A receive one EventCallBack.
Current Behaviour:Client A recive two EventCallBack.
The Same is true of RPC
0