This version of Unity is unsupported.
Method group is Obsolete

NetworkManager.OnStartServer

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public void OnStartServer();

Description

This hook is invoked when a server is started - including when a host is started.

StartServer has multiple signatures, but they all cause this hook to be called.