How can a client instantiate a scene object?
Comments
-
Hi,
If you mean scene object in terms of PUN, use PhotonNetwork.InstantiateSceneObject instead of PhotonNetwork.Instantiate.
This works only on master client.-1 -
Thank you for the replay, I am wondering if there is any way possible to have the client instantiate a scene object instead of the master? Or maybe the client can send an RPC to the master to instantiate a scene object, however it keeps throwing an error at me saying that the "Client is not the master in the room"0
-
Anyone have any solutions?0
-
Exactly as you wrote, non-master client should send RPC to a master (with PhotonTargets set to MasterClient), master spawns scene object in RPC handler.0