jirihybek / unity-websocket-webgl

Hybrid WebSocket implementation for Unity 3D with support of native and browser client.
Other
248 stars 61 forks source link

Doesn't work on Browser but works on Unity? #7

Closed kokizzu closed 5 years ago

kokizzu commented 5 years ago

Tried to write a simple demo (source here) with this library, when started with Unity it works fine, but when built to HTML5 target (warning, development build is 33MB) (either development or release version/9MB), it doesn't show up correctly, server sends correct values, but the client doesn't handle the message from server when running on Browser.

Any way how to find out what's wrong?

Reproduce steps:

  1. clone the project
  2. run on Unity (2018.x)
  3. Build > HTML5
  4. upload to certain server (or use the link above)
kokizzu commented 5 years ago

nevermind, i use this one instead https://github.com/zoecarver/unityWS '__')