doghappy / socket.io-client-csharp

socket.io-client implemention for .NET
MIT License
721 stars 124 forks source link

In Web GL Build, socket connection is not established. #325

Open SachinTichkule opened 1 year ago

SachinTichkule commented 1 year ago

I used dll files from nuget package manager in unity game engine. it works fine in android, window and unity editor itself but did not connect to server in webgl build. what 's the solution.

Nicolas-Puccio commented 1 year ago

same problem here, did you find a solution?

Nicolas-Puccio commented 1 year ago

i guess almost none of the libraries for sockets work on WEBGL, the solution is to use a JS library and https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html