A TIP in the documentation is not possible to implement as-is

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.

Hi @neviovalsa , thanks for flagging. Do you know that you can make the change yourself with the “Edit this page” link at the bottom of the documentation’s page?