why is this RPC causing errors and not working?
Options
I have a basic RPC function set up, but it does not work and causes a large error whenever it should be called.
This is the call:
this.photonView.RPC("win", RpcTarget.AllViaServer, view.ViewID);
This is the function:
[PunRPC]
public void win(int i)
{
winText.text = i.ToString() + " Wins!";
}
it works on the client calling it but all others get numerous separate errors.
0