SpawnablePrefabs

Fish-Networking uses a collection of prefabs to manage spawning of network objects across the network. Whenever you instantiate and spawn an object on the server, FishNet will use the selected Spawnable Prefabs collection to find which object it is and to automatically instantiate and link the objects on all clients.

The Spawnable Prefabs collection can be set on your NetworkManager component.

NetworkManager component highlighting Spawnable Prefabs field
The Spawnable Prefabs field on the NetworkManager

Last updated