WebGL error


I have a problem with Photon Voice, after import and switch to WebGL platform can't compile due a missing reference in the script LoadBalancingClient.cs line 739, I solved it simple commented it:
this.Listener.DebugReturn(DebugLevel.WARNING, "WebGL requires WebSockets. Switching TransportProtocol to WebSocketSecure.");

I hope you can fix it for default.



  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Lovatto,

    Thank you for choosing Photon!

    You should know that Photon Voice does not support WebGL (WebSockets).
    It works on UDP only by default on Photon Cloud.
  • Oh no sorry I don't know that, I just start using it recently and it is not mentioned in the description or the web page.

    Anyway thanks for the reply.
  • Hi, Im using Chat system on unity webGl this error is comming up:

     "WebGL requires WebSockets. Switching TransportProtocol to WebSocketSecure."

  • Hi,

    This is a warning, not an error. Ignore it or set proper protocol during client initialization.