Assets/Photon Unity Networking/Plugins/PhotonNetwork/SocketWebTcp.cs(46,17): error CS0246: The type or namespace name `WebSocket' could not be found. Are you missing an assembly reference?

Hi,

I just implemented the webgl build for the demo scene in Photon Voice, But i am not able to build the project for WebGl and i am getting this error

“Assets/Photon Unity Networking/Plugins/PhotonNetwork/SocketWebTcp.cs(46,17): error CS0246: The type or namespace name `WebSocket’ could not be found. Are you missing an assembly reference?”

Is it something regarding the unity and PUN version or what is it.

Thanks in advance for your help.

Hi,

Photon Voice does not support WebSockets / WebGL. I have found this answer by one of my colleagues here.

If you have further questions about Photon Voice, I would recommend you asking them in the certain subforum.