Is there a min version for 2021.3 (I have 2021.3.8f1) ?
I tried to override NetworkManager because I want to change a few things before spawning the player but I can’t find the method explained in the documentation.
I do :
public class CustomNetworkManager : NetworkManager {
public virtual void OnServerAddPlayer(NetworkConnection conn,short playerControllerId) {
print("TOTO");
}
}
But the function isn’t invoked nor found.
I took the code from here