Unable to connect when running webGL build on Chrome

kcchan

New member
Hi,

When I tried to run the demo scene included with the Add-on using webGL, I was not able to go past the connection menu in Chrome.
There were some errors in the console (see attached).

I've also tried creating a blank scene with just the PUN enabled character and scene, the same thing happens.

However, all the scenes work fine when run loaded using Firefox.

Here are the details as follows:
- Chrome browser Version 104.0.5112.102 (Official Build) (64-bit)
- Windows 10 Home
- CPU AMD Ryzen 9 5900HS, 32GB RAM
- Unity 2021.3.8f1
- UCC Package Version 2.4.8
- PUN 2 Package Version 2.41
- PUN Multiplayer Add-on Version 1.2.1

Thank you for your help in advance!

Regards,
KC

error1.JPG
error2.JPG
 
This looks like a Photon error - I would try posting it on their forum. I am not sure if PUN supports WebGL.
 
Thanks for the prompt reply Justin.
You're likely right about this. I tried compiling the PUN 2 demo scene and encountered the same error in Chrome.
I suspect it could be a Unity webgl library issue as well, given that it's using deprecated javascript methods.
 
Top