No Connect

nikstasnikstas
edited April 26 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

Sign In or Register to comment.