Clearing buffered RPC created on object instantiation calls problem
Options
Hello there,
Does Photon capable of clearing buffered RPCs implicitly created on PhotonNetwork.Instantiate and PhotonNetwork.InstantiateSceneObject without calling to PhotonNetwork.Destroy?
The problem is: I work on a project where it's not suitable to destroy instantiated objects yet to clear their RPCs. Ideally I want something like PhotonNetwork.RemoveRPCs, which would be capable to remove buffered RPCs caused by Instantiation calls too.
Ideas?
Does Photon capable of clearing buffered RPCs implicitly created on PhotonNetwork.Instantiate and PhotonNetwork.InstantiateSceneObject without calling to PhotonNetwork.Destroy?
The problem is: I work on a project where it's not suitable to destroy instantiated objects yet to clear their RPCs. Ideally I want something like PhotonNetwork.RemoveRPCs, which would be capable to remove buffered RPCs caused by Instantiation calls too.
Ideas?
0
Comments
-
Hi @pan1cmode,
instead of using PhotonNetwork.Instantiate, you can use Manual Instantiation. Using this, you can decide if you want to buffer those custom Instantiation calls.0