heroiclabs / nakama-defold

Defold client for Nakama server.
https://heroiclabs.com
Apache License 2.0
75 stars 12 forks source link

HTML5 build auto disconnect when call socket_send #13

Closed hungluongkong closed 3 years ago

hungluongkong commented 3 years ago

Hi there,

I have cloned this and run the example. (To build HTML5, I removed codegen folder. and no change anything) When build and run HTML5, I got Disconnected when call socket_send

nakama.socket_send(socket, channel_join_message)

You can see log here: https://anotepad.com/note/read/94xi4wqj Could you please take a look for this?

britzl commented 3 years ago

We have replaced the old Lua based WebSocket implementation from the initial release of Nakama-Defold with a new native WebSocket extension (see #20). This issue is resolved through the upgrade to the native WebSocket solution.