Working in Unity WebGL
Hi, are this WebSockets-Sharp working in WebGL build ? I am connecting to SSL server and its working fine in the editor but when I build and run this project, browser stops responding and prompts to kill or wait for the task. My project only contains a button and text component, facebook sdk and Web-Sockets-Sharp solution, so there is no such assets that violates the memory or takes time to load. Thanks in advance.
@salmansaleem32 Did you manage to make it work? I have to use websocket in the next project so I wanna know first.
As mentioned in the README, it's not the web platform is not supported. I think it would be possible by writing a JavaScript plugin though (https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html)
@salmansaleem32 Did you manage to make it work? I have to use websocket in the next project so I wanna know first.
Hi @qapquiz I used another solution to make it work. Its also available on github and its working fine on editor as well as browser. Let me share you the link. https://github.com/zoecarver/unityWS
Any updates on 2021?
The ebst would be Unity Technologies switch to Blazor Webassembly and drop javascript finally
It will be nice to support web