Skip to content

WebSocketTransport Support? #175

@brian-kryptomon

Description

@brian-kryptomon

I have been trying to get the WebSocketTransport to work and have found a few issues so I wasn't sure if this was still being supported.

There are issues with the JSWebSocketClient.jslib as it throws Runtime not found errors - from what I have read the newer versions of unity no longer support Runtime.dyncall and you have to do something like Module['dyncall_v#']. I tried to make these changes and I no longer receive the errors but now I am getting Netcode warnings:

[Netcode] Received a packet too small to contain a BatchHeader. Ignoring it.

My server is getting the messages correctly now but messages going down to the client seem to give the above warning and the message isn't processed.

Anyone come across this or know who wrote this package originally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions