public static void CloseServerInstance()
    {
        try
        {
            if (udpSv != null)
            {
                udpSv.CloseServer();
                udpSv   = null;
                players = null;

                NetworkingGlobal.FirstLobby       = true;
                NetworkingGlobal.ActiveRoleHashes = new List <string>();
            }
        }
        catch (Exception ex)
        {
            Debug.LogError(ex.ToString());
        }
    }