ServerSpawner

An easy tool to assist with spawning specific objects as soon as the server starts.

Description

The ServerSpawner component is a helpful tool that you can use for instantiating and optionally spawning objects as soon as the FishNet server successfully starts running. This is very often used to instantiate , which need to be instantiated at run-time instead of existing inside a scene directly.

Settings

Default Settings

⚙️ Automatically Spawn

This dictates whether the component will call Spawn on the objects after it instantiated them.

You can disable this if you want to manually control when these objects are spawned.

⚙️ Network Objects

This is a list of the Network Objects the component will instantiate once the server starts. The order of this list is respected when instantiating the objects, and the component will attempt to use FishNet's object pooling for the objects if they are added to the an object pool.

Last updated