NativeWebSocket icon indicating copy to clipboard operation
NativeWebSocket copied to clipboard

🔌 WebSocket client for Unity - with no external dependencies (WebGL, Native, Android, iOS, UWP)

Results 57 NativeWebSocket issues
Sort by recently updated
recently updated
newest added

Hello! I am having trouble connecting a build on a Meta Quest 2 (Android build) to a WebSocket server that I set up using an ESP32. The error message only...

I'm using the NativeWebSocket in Unity for my client. Things are working fine for me except for I don't find a way to send or react to ping/pong message for...

im building my dedicated server and client builds from the same unity project. all of the examples seem to be for clients, but I'm not seeing how to make a...

I have built a stand alone server that sends out a heartbeat every 5 seconds. My Unity client connects to the server via websocket and displays the heartbeat message it...

![Image](https://github.com/user-attachments/assets/dc13f76d-b6dd-42a0-9bfe-878b08044177)] the websocket folder I copy to under the Assets but ![Image](https://github.com/user-attachments/assets/cb005b5f-0d09-46d5-a107-6c978bbf771f) Please help me!

Connections are automatically dropped after a timeout due to [this bug](https://stackoverflow.com/questions/40502921/net-websockets-forcibly-closed-despite-keep-alive-and-activity-on-the-connectio) in C#'s handling of websocket traffic. This should fix [Issue 92](https://github.com/endel/NativeWebSocket/issues/92). Also actually invokes `DispatchMessageQueue` when receiving a message,...

`Module.dynCall` does not work in Unity 6 with WebAssembly.Table enabled (which is forced on if targeting WebAssembly 2023), and according to [this](https://docs.unity3d.com/6000.0/Documentation/Manual/web-interacting-browser-deprecated.html), it should be replaced with an Emscripten macro...