Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Cannot connect to Photon server

$
0
0
Hi, I'm making an investigation project with PUN free.

The main problem is that never connects to the server. It gets struck at the Peer Created state.
This happens even on the demos.

I've tried to set the EU server, set BestRegion, and other code changes.

Here is the log of the DemoBoxes:

Cause: DisconnectByClientTimeout
UnityEngine.Debug:LogError(Object)
ConnectAndJoinRandom:OnFailedToConnectToPhoton(DisconnectCause) (at Assets/Photon Unity Networking/UtilityScripts/ConnectAndJoinRandom.cs:63)
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
NetworkingPeer:SendMonoMessage(PhotonNetworkingMessage, Object[]) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:2621)
NetworkingPeer:OnStatusChanged(StatusCode) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:2099)
ExitGames.Client.Photon.EnetPeer:SendOutgoingCommands()
ExitGames.Client.Photon.PhotonPeer:SendOutgoingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:177)

Viewing all articles
Browse latest Browse all 15755

Trending Articles