Sdk-defold does not receive opcode on on_match_data

I get all data sent from the server, I just don’t get the opcode

my client code:

socket.on_match_data(Constants.SOCKET_CONNECTION, function(message)
	print('opcode', message.match_data.op_code) ---> nil
	print('match_data', json.encode(message.match_data))
end

server:

dispatcher.broadcast_message(opcode, nk.json_encode(data), nil, message.sender)

Hello @ropoko,

Please open an issue at: GitHub - heroiclabs/nakama-defold: Defold client for Nakama server..

Best.

1 Like