Skip to content

Compile error in websocket transport. #261

@dm-mattyoung

Description

@dm-mattyoung

There's a missing new in NativeWebSocketClient.cs which prevents it from compiling:

https://github.com/Unity-Technologies/multiplayer-community-contributions/blame/5cea8f048cc16f3575fabcf03af3ebafbc390499/Transports/com.community.netcode.transport.websocket/Runtime/NativeWebSocketClient.cs#L58

Results in

Library/PackageCache/com.community.netcode.transport.websocket@5a5c9ac2f2d8/Runtime/NativeWebSocketClient.cs(58,27): error CS1955: Non-invocable member 'InvalidOperationException' cannot be used like a method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions