Send RPC to a different Network ID

Hi guys,

Does anyone know why I can’t send an RPC to a different prefab? Basically I have 2 different prefabs and both get instantiated with the same script that sends out an RPC like so:

networkView.RPC(“CheckStatus”, RPCMode.OthersBuffered);

The problem is that it only works when the same prefab is used but when it’s 2 different prefabs it doesn’t work and I have tried to use “RPCMode.All” but still nothing.

Is this because they need to be the same Network ID?

Any help would be greatly appreciated.

Many thanks

Turns out I was missing something, doh! I needed to add the (Clone) part to the string in GameObject.Find.
so in a different Script I have done:

status = GameObject.Find(“myPlayer(Clone)”).GetComponent().status;

status is the Boolean I change in the RPC

Not sure if this will help anyone seeing as it was a silly mistake and I was looking at the wrong thing the whole time.