Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

PhotonView stating method doesn't have proper number of arguments.

$
0
0
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:
PhotonView with ID 2 has no method "RPC_AllPlayersInGameboard" that takes 1 argument(s): PhotonPlayer

method:
[PunRPC]
private void RPC_AllPlayersInGameboard(PhotonPlayer[] players)
caller:
photonView.RPC("RPC_AllPlayersInGameboard", PhotonTargets.All, PhotonNetwork.playerList);

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>