No Connect

nikstas
✭
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)); }
0
Answers
-
Hi @nikstas,
Thank you for choosing Photon!
You need to Call Service.private void Update() { chatClient.Service(); }
0