Can't connect to Photon server - SwitchToProtocol: Udp PhotonNetwork.connected: False
Options
Heya,
yesterday I imported the 'Photon Unity Networking Free' package from the asset store. Sadly however, it doesn't seem to work. As soon as I use the line of code
I get a Debug log saying the following
Can't connect to Photon server - SwitchToProtocol: Udp PhotonNetwork.connected: False
I've tried Googleing this line, but nothing of worth came up. There were several post talking about wrong network configuration/firewalls, but I've tried this on both my work computer and laptop (at both different networkes as well) and nowhere does it seem to be a firewall option. I've even made a build and there were no pop ups.
Things of note:
yesterday I imported the 'Photon Unity Networking Free' package from the asset store. Sadly however, it doesn't seem to work. As soon as I use the line of code
PhotonNetwork.ConnectUsingSettings("v1.0");
I get a Debug log saying the following
Can't connect to Photon server - SwitchToProtocol: Udp PhotonNetwork.connected: False
I've tried Googleing this line, but nothing of worth came up. There were several post talking about wrong network configuration/firewalls, but I've tried this on both my work computer and laptop (at both different networkes as well) and nowhere does it seem to be a firewall option. I've even made a build and there were no pop ups.
Things of note:
0
Comments
-
Welp apparantly enter made me accidentally post so i'll continue like this.
Things of note:
- PhotonNetwork.connected returns true
- I've completely downloaded the asset, didn't skip anything
- I have tried removing the PhotonServerSettings but that didn't seem to do the trick
Thanks in advance for anyone who can help me out!0 -
Hi,
the photonServerSettings are mandatory.
how did you setup this settings?
- have you filled up the appid?
- what are your hosting properties setup?
Bye,
Jean0