Hello,
this is very small issue but I thought maybe a quick fix to the docs could avoid some confusion
I was reading the following section on Scene Events: Scene events | Unity Multiplayer Networking .
The tip just below the code snippet says:
This code can be applied to a component on your GameObject that has a NetworkManager component attached to it. Since the GameObject, with the NetworkManager component attached to it, is migrated into the DDOL (Dont Destroy on Load) scene, it will remain active for the duration of the network game session…
Since the code snippet contains checks such as
if (IsServer){
...
}
this snippet should be a NetworkBehaviour, which can’t be attached to a NetworkManager.