Cannot connect to a server on WebGL platform
Options
Ben1911
✭
Hi,
I'm working on my new project, and I have a simple script which makes a connection to a server. On Unity editor, a WebSocket connection to a server is working fine. But, on a WebGL build, it's trying to make a connection there but without success. There are no more logs about it on a web console. On the server side, there are no logs about a new connection or something like that.
Here is an image which shows all the process on WebGL platform: https://i.gyazo.com/a3fece97cfb27fb24b38c5609b450262.png
What may be wrong? Even if I'll make a full debugging build, I don't think errors or something more will help - because there is just a simple connection without additions which Photon shows the same thing on their sample projects.
Thanks.
I'm working on my new project, and I have a simple script which makes a connection to a server. On Unity editor, a WebSocket connection to a server is working fine. But, on a WebGL build, it's trying to make a connection there but without success. There are no more logs about it on a web console. On the server side, there are no logs about a new connection or something like that.
Here is an image which shows all the process on WebGL platform: https://i.gyazo.com/a3fece97cfb27fb24b38c5609b450262.png
What may be wrong? Even if I'll make a full debugging build, I don't think errors or something more will help - because there is just a simple connection without additions which Photon shows the same thing on their sample projects.
Thanks.
0
Comments
-
lets take a look at your config and logs from your server (deploy/bin_win64/log).
please send us this info to developer @ photonengine.com
best,
ilya0 -