SimpleWebSocketDocumentation

Configure Named WebSocket Connections

Compatibility

  • Unreal Engine 5.2–5.8
  • Version 1.1.0 (Version 2)

Interface language

Open Edit → Project Settings, select the SimpleWebSocket settings page, and set Language to English or Chinese. English is the default. Available user-facing UI, tooltips, notifications, and functional logs update immediately without restarting the editor. Public API names and module startup/shutdown logs remain in English.

Add a named connection

Keep the configuration name and use it again in Blueprint. For a service on the same machine, use the port it actually listens on. If Auto Connect is off, initiate the connection from Blueprint.

  1. Enable the plugin in Unreal Engine Editor.
  2. Go to Edit > Project Settings
  3. Scroll to Simple WebSocket Settings and open it
  4. Add a new WebSocket connection entry (e.g., named Test)
  5. Enter the WebSocket address (recommended format: ws://127.0.0.1:xxxx)
  6. Enable Auto Connect (optional; if enabled, the connection will be established automatically at runtime)

WebSocket Settings

Address and protocol limits

The plugin supports ws:// only. It does not support wss://. For a server on your own machine, use 127.0.0.1 instead of localhost.

Use a configured connection in Blueprint