// Use this for initialization void Start() { Application.runInBackground = true; m_photonServer = new PhotonServer(); PhotonPeer peer = new PhotonPeer(m_photonServer, ConnectionProtocol.Udp); m_photonServer.Init(peer, "localhost:5055", "JustGameServer", this); m_isConnected = true; }