Hi there,
I have this RPC method and It's not being called locally!
Console says it's sending RPC to all or player, however it returns nothing... not even an error.
Yes I am running Photon Debug in full.
Here's the method:
public static void AddMonster(GameObject monster)
{
// Add the monster to remote players lists
ScenePhotonView.RPC("AddedMonster", PhotonTargets.All, monster);
}
[PunRPC]
void AddedMonster(GameObject monster)
{
monsters.Add(monster);
}
I have this RPC method and It's not being called locally!
Console says it's sending RPC to all or player, however it returns nothing... not even an error.
Yes I am running Photon Debug in full.
Here's the method:
public static void AddMonster(GameObject monster)
{
// Add the monster to remote players lists
ScenePhotonView.RPC("AddedMonster", PhotonTargets.All, monster);
}
[PunRPC]
void AddedMonster(GameObject monster)
{
monsters.Add(monster);
}