Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Cannot create a room on a local server

$
0
0
Hi,
I want to create a new room in a game. I click a button, wait a couple of seconds and get disconnected with cause "Client Timeout". When I don't use my own server, everything works fine. This is the code for creating the room:
Debug.Log("Creating room");
Photon.Realtime.RoomOptions ro = new Photon.Realtime.RoomOptions();
ro.PublishUserId = true;
PhotonNetwork.CreateRoom("0", ro);
This is my configuration for connecting to Server:
App ID: my app ID
App ID chat: blank
App Version: 1.0
Use Name Server: False
Fixed Region: blank
Server: my local IP
Port: 5055
Protocol: UDP

Thanks

Viewing all articles
Browse latest Browse all 1557

Trending Articles