Is This the Most Suitable Method to Spawn Objects Without Delay on the Client Side?

Is the method to instantiate an object on the client side without delay to instantiate it using [Rpc(SendTo.Everyone)]?

For example: PlayerOnlineFirer.FireTorpedoRpc()

9703661–1385651–PlayerOnlineFirer.cs (2.24 KB)
9703661–1385657–PlayerCommonFirer.cs (1.23 KB)
9703661–1385660–TorpedoOnline.cs (2.56 KB)

No, client spawn will always be delayed even for the local player since the Rpc goes to the server first, and then returns with the (internal) command to spawn the object.

Only exception is the host player which spawns objects instantly because a server RPC called from the host is like a local method call.

1 Like

thanks