Problem with PhotonNetwork.Instantiate and RemoveRPCs

Options
Hi, recently I have switch my project to PhotonNetwork. However, I met several problem about NetworkPhoton.Instantiate and RemoveRPCs.

In my game, each player will create and destroy a lot of objects. However when new player comes in, they will see all the objects which has already destroyed.

I guess the reason is because all those objects are Instantiated using an Buffered RPC Calls. So I tried to use PhotonNetwork.RemoveRPCs(view) to remove all the buffered RPC Calls before I destroy them. But It seems not working.

Can you give me some suggestions? Thanks so much!

Comments

  • gnoblin
    Options
    Do you use PhotonNetwork.Destroy() for destroying objects?
    Which PUN version do you use?

    thanks,
    Slav