In Unity's Netcode for GameObjects, only the server has authority to spawn objects by default. To allow clients to spawn objects (e.g., bullets or actions), you use an RPC (Remote Procedure Call) to send a message from the client to the server, which then spawns the object and synchronizes it across all clients.

1m watch time

Sort: