Skip to Content

Eldritch Link v5

Eldritch Link v5 (EL5) is the binary RPC protocol used by the current Nunu Unity and Unreal SDKs. It carries function calls, results, errors, and notifications over one WebSocket connection.

Connection URI

A connection URI has this form:

<scheme>://<host>:<port>/<connection-id>

The host, explicit port, and one nonempty connection ID path segment identify the endpoint and session. Use the URI provided by the Flayer debugger in Nexus.

SchemeTransportCertificate behavior
el://WebSocket (ws://)No TLS
els://Secure WebSocket (wss://)Validates the server certificate
elx://Secure WebSocket (wss://)Unity SDK option for development with a self-signed certificate

The Unreal Engine 5 SDK accepts el:// and els://. The Unity SDK also accepts elx://.

Frames

EL5 defines four frame kinds:

FramePurpose
CallInvokes a named function and carries its arguments
ReplyReturns values for a call
ErrorReturns an error type and message
NotifySends a named notification without a reply

Call IDs associate a Call with its Reply or Error. A Notify is fire-and-forget.

Values

EL5 values are self-describing:

ValueMeaning
NullNo value
IntSigned 64-bit integer
Float64-bit floating-point number
BoolBoolean
StringUTF-8 text
BinaryByte sequence
ArrayOrdered list of EL5 values
MapString-keyed collection of EL5 values

Each engine SDK maps its supported language types to these values and validates conversions. For engine-specific handler signatures, see the Unity and Unreal Engine guides.

EL5 endpoints are incompatible with clients that speak Eldritch Link v4. Connect a v2 SDK build to an EL5 endpoint.

Last updated on