Skip to content

Update Unreal SDK to websocket 2.0#4497

Draft
JasonAtClockwork wants to merge 4 commits intojlarabie/cpp-v10from
jlarabie/unreal-sdk-2.0
Draft

Update Unreal SDK to websocket 2.0#4497
JasonAtClockwork wants to merge 4 commits intojlarabie/cpp-v10from
jlarabie/unreal-sdk-2.0

Conversation

@JasonAtClockwork
Copy link
Contributor

Description of Changes

  • Updated the Unreal SDK and generated Unreal bindings for the websocket 2.0 protocol/model
    • Reworked DbConnectionBase to handle the updated message shapes
    • Switched subscription handling over to new message types and QuerySetId
    • Updated reducer to ReducerResult, removal of callbacks, and set reducer flags
    • Added event table support
  • Baked in multi-module support replacing the old PR
    • Added functionality to generate module support for multiple folders in the Unreal project (add .Build.cs, .h, .cpp) using the --module-name
    • Add new configuration option for spacetime generate to handle module prefix
  • Regenerated Unreal Blackholio/TestClient/QuickstartChat bindings
    • Rebuilt Unreal Blackholio's consume entity to use event tables

API and ABI breaking changes

  • Unreal websocket/message handling updated to the new protocol
  • Unreal generation now expects a real .uproject target and will stop immediately if project
    metadata is invalid instead of continuing past setup issues.

Expected complexity level and risk

3 - A large set of changes to update the websocket/message handling along with heavy codegen changes to handle multi-module support

Testing

Test coverage of the Unreal SDK will need expansion in a future ticket once our issues with flakiness on CI is resolved.

  • Updated Unreal Blackholio
  • Ran full Unreal SDK test suite
  • Built new test project using the new --module-prefix

@JasonAtClockwork JasonAtClockwork self-assigned this Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant