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

GameServer is registered, can connect to Master Server but disconnect on creating room.

$
0
0
Hey there everyone :) So I'm hosting photon on my Windows Server 2016 Using both TCP and UDP, I can safely connect to my server ip from Unity. However when I try to create a room I simply get Socketudp.Disconnect() as debug and I get "Game does not exist" error when I launch the test client on server. Log from GSGame: https://pastebin.com/A684TBu8 Log From MSMaster: https://pastebin.com/G2kTtsRg Also, when creating a room unity gives me "Failed parsing adress:" full log:
Failed parsing address: UnityEngine.Debug:LogError(Object) Photon.Realtime.LoadBalancingClient:DebugReturn(DebugLevel, String) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:1826) ExitGames.Client.Photon.IPhotonSocket:Connect() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/IPhotonSocket.cs:107) ExitGames.Client.Photon.SocketUdp:Connect() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/SocketUdp.cs:64) ExitGames.Client.Photon.EnetPeer:Connect(String, String, Object) (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/EnetPeer.cs:267) ExitGames.Client.Photon.PhotonPeer:Connect(String, String, Object) (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PhotonPeer.cs:1116) Photon.Realtime.LoadBalancingClient:ConnectToGameServer() (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:807) Photon.Realtime.LoadBalancingClient:OnStatusChanged(StatusCode) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2320) ExitGames.Client.Photon.<>c__DisplayClass100_0:b__0() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PeerBase.cs:893) ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/EnetPeer.cs:429) ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PhotonPeer.cs:1428) Photon.Pun.PhotonHandler:FixedUpdate() (at Assets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:130)
Can anybody point me to a correct configuration? Photon server sdk v4 Unity Pun v2 Windows Server 2016 No custom ports. Actually no custom anything. Just downloaded, launched and set the ip to public. Obfuscated my server address and username in the logs for obvious reasons. Tried a lot of IP configurations in Photon.Loadbalancing.dll.config for both Master and GameServer folders but I still believe I may be missing something here. Thanks a lot in advance :)

Viewing all articles
Browse latest Browse all 1557

Trending Articles