-
Notifications
You must be signed in to change notification settings - Fork 163
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
Netcode for GameObjects Web Socket WebGL build error #136
Comments
I'm wondering if there's any package that is incompatible with WebGL builds, unrelated to the Netcode package, that I have in my Unity project:
|
I have the same error. Please help! |
I've been looking through the Any help on this would be greatly appreciated! I need to get this working as soon as possible. |
Update: this seems to be a problem with netcode, not the websocket transport layer. I created another project, built it, it worked fine. Then, I added netcode for gameobjects, built it, worked fine. Then, I added the |
Same problem here. Will WebGL suported with Netcode for GameObjects? It'd be a lot cooler it did. |
Can you explain that isn't WebSocket transport supported for WebGL export? When I choose WebSocket transport for my Please Unity, fix this. |
Has anyone been able to solve the problem ? |
Same problem, I've tried everything I could think of. Does anyone know any workarounds or alternatives? I just wanted my client to work on browser too |
It's this package that makes this happen: "com.unity.netcode.gameobjects": "1.0.0-pre.7" I went step by step, adding each package and exporting to webGL. This is the only package that causes this bug. When will there be a fix? |
Getting the same error, my project does not contain netcode |
Has anyone gotten this to work on webgl? I am getting the same EntryPointNotFoundException. @Ripper53 did you ever get past this? |
When I run it as a WebGL build it tries to connect and I see it connect on the server but then I get this error:
|
I hobbled together a somewhat hotfix version to get client reconnect working and have it work in the editor to support reconnect as well based on an existing PR #174 (also wrote a comment there). https://github.com/nicholas-maltbie/multiplayer-community-contributions/tree/webgl-patch I have a working example I've tested locally and via the browser here Imported via this path - git+https://github.com/nicholas-maltbie/multiplayer-community-contributions?path=/Transports/com.community.netcode.transport.websocket#webgl-patch I've verified that it works with version 1.1.0 of the netcode project as well. |
I am using Netcode for GameObjects, but everytime I try to build it to WebGL, it gives a "RuntimeError: null function or function signature mismatch,RuntimeError: null function or function signature mismatch" error.
I started using the web socket transport, and I was wondering how I would be able to set up clients for WebGL. I want a linux server and have WebGL clients connect to it. For testing purposes, I want to host using a Windows machine and use WebGL to connect clients to it. However, the error persists.
Is there more setup I need to do before I can build for WebGL? Why does the error persistent even though I am using a web socket transport for my WebGL build?
The text was updated successfully, but these errors were encountered: