hey guys connected with setup wizard, have network connections enabled, but getting
SwitchToProtocol: Udp PhotonNetwork.connected: False
have I missed something?
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class NetworkServerControll : Photon.MonoBehaviour {
public string roomName = "GameRoom";
public int PlayerCount = 0;
public GameObject SearchingForgame;
public void PlayGame(){
SearchingForgame.SetActive (true);
PhotonNetwork.ConnectUsingSettings("v4.2");
}
void OnJoinedLobby() {
RoomOptions roomOptions = new RoomOptions() { isVisible = true, maxPlayers = 5 };
PhotonNetwork.JoinOrCreateRoom(roomName, roomOptions, TypedLobby.Default);
}
SwitchToProtocol: Udp PhotonNetwork.connected: False
have I missed something?
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class NetworkServerControll : Photon.MonoBehaviour {
public string roomName = "GameRoom";
public int PlayerCount = 0;
public GameObject SearchingForgame;
public void PlayGame(){
SearchingForgame.SetActive (true);
PhotonNetwork.ConnectUsingSettings("v4.2");
}
void OnJoinedLobby() {
RoomOptions roomOptions = new RoomOptions() { isVisible = true, maxPlayers = 5 };
PhotonNetwork.JoinOrCreateRoom(roomName, roomOptions, TypedLobby.Default);
}