I have many other [PunRPC] calls which work just fine. After modifying an existing call, it breaks. I'm not sure what's causing this. I went to the PhotonServerSettings and can see that RPC_AllPlayersInGameboard is in the Rpc list; I have tried clicking refresh.
I receive the following error:
[code]
PhotonView with ID 2 has no method "RPC_AllPlayersInGameboard" that takes 1 argument(s): PhotonPlayer
[/code]
method:
[code]
[PunRPC]
private void RPC_AllPlayersInGameboard(PhotonPlayer[] players)
[/code]
caller:
[code]
photonView.RPC("RPC_AllPlayersInGameboard", PhotonTargets.All, PhotonNetwork.playerList);
[/code]
I receive the following error:
[code]
PhotonView with ID 2 has no method "RPC_AllPlayersInGameboard" that takes 1 argument(s): PhotonPlayer
[/code]
method:
[code]
[PunRPC]
private void RPC_AllPlayersInGameboard(PhotonPlayer[] players)
[/code]
caller:
[code]
photonView.RPC("RPC_AllPlayersInGameboard", PhotonTargets.All, PhotonNetwork.playerList);
[/code]