- Home /
Question by
WolfDivinity · Jul 14, 2014 at 09:47 PM ·
error
Photon, failed to network remove object.
The full error reads, failed to network-remove gameobject. Client is neither owner nor masterclient taking over for owner who left. All the objects have photonveiws. Here is the RPC I'm using to attempt to remove the object:
[RPC]
void Kill()
{
if(GetComponent<PhotonView>().instantiationId == 0)
{
Destroy(gameObject);
}
else
{
if(PhotonNetwork.isMasterClient)
PhotonNetwork.Destroy(gameObject);
}
}
Thank you for your time and help.
Comment
Your answer
Follow this Question
Related Questions
Failed to register devices: The operation completed successfully. 0 Answers
Error "There is already a local variable with the name 'obstacle'." How can I make it work? 2 Answers
Getting a bunch of errors after the latest Unity update (Unity 3.8f1) 5 Answers