No Connect

nikstas
nikstas
edited April 2019 in Photon Chat
does not connect to the server. Tried to connect on PC, iOS and Android
    private void Start()
    {
        ConnectionToChatServer();
        /*_userName = PlayerPrefs.GetString("playerName");
        if (_userName.Length < 2)
        {
            registration.SetActive(true);
        }
        else
        {
            ConnectionToChatServer();
        }*/
    }
    
    private void ConnectionToChatServer()
    {
        textDebug.text = "Подключение";
        _chatClient = new ChatClient(this);
        _chatClient.Connect(chatId, appVersion,new ExitGames.Client.Photon.Chat.AuthenticationValues(_userName));
    }

Answers