Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SachinTichkule opened this issue Jun 23, 2023 · 2 comments
Open

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

SachinTichkule opened this issue Jun 23, 2023 · 2 comments

Comments

@SachinTichkule
Copy link

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.

@SachinTichkule SachinTichkule changed the title Web GL Build connection is not established. In Web GL Build, socket connection is not established. Jun 28, 2023
@Nicolas-Puccio
Copy link

same problem here, did you find a solution?

@Nicolas-Puccio
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants