NetworkManager.OnServerDisconnect not being called

Hello everyone, I will try to keep this nice and simple.

Basically I have a MonoBehaviour with a main class that inherits from the NetworkManager class.
Inside this main class I have a NetworkManager.OnServerConnect and a NetworkManager.OnServerDisconnect.

The first one is called OK when the Client connects to the Server, but when the Client disconnects from the Server the second method is not called. Looks something like this:

public class UpdatedNetwork : NetworkManager
{
    // Called on the Server when a Client connects to the Server.
    public void OnServerConnect (NetworkConnection conn)
    {
        // The code in here runs fine when a Client connects to the Server.
    }

    // Called on the Server when a Client disconnects from the Server.
    public void OnServerDisconnect (NetworkConnection conn)
    {
        // The code in here does not run when a Client disconnects from the Server.
    }
}

Any ideas? Thanks.

I created my own disconnect method, that checks if the caller is the server and calls “StopClient” & “StopServer” accordingly. That way I could clean up after the disconnected players.