Skip to content

Conversation

@JasonAtClockwork
Copy link
Contributor

Description of Changes

Updated the handler from OnRawMessage to OnBinaryMessage as OnRawMessage seems to have a bug that won't report the BytesRemaining for incomplete messages. OnBinaryMessage properly returns a bool flag like how the C# implementation works.

API and ABI breaking changes

N/A

Expected complexity level and risk

2 - Underlying framework change on how messages are handled

Testing

Blackholio was no longer working and is back in working order; however Unreal test framework has been broken due to the work on Result<> as the companion PR has not been merged.

  • Rebuilt and ran Unreal Blackholio

… changed to OnBinaryMessage to properly handle message fragmentation introduced recently
@JasonAtClockwork JasonAtClockwork self-assigned this Jan 12, 2026
@JasonAtClockwork JasonAtClockwork marked this pull request as ready for review January 12, 2026 18:11
@brougkr
Copy link
Contributor

brougkr commented Jan 12, 2026

Found this as well. Check my PR here, I did something different to fix it in my project. Is working reliably:

#4006

@bfops bfops added the release-any To be landed in any release window label Jan 12, 2026
Copy link
Contributor

@rekhoff rekhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks clean and targets the root problem with minimal changes. Tested Blackholio locally and confirmed no errors found.

@JasonAtClockwork JasonAtClockwork added this pull request to the merge queue Jan 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 13, 2026
@JasonAtClockwork JasonAtClockwork added this pull request to the merge queue Jan 13, 2026
Merged via the queue into master with commit 2f7a3ec Jan 13, 2026
44 of 45 checks passed
kistz pushed a commit to kistz/SpacetimeDB that referenced this pull request Jan 13, 2026
# Description of Changes

Updated the handler from OnRawMessage to OnBinaryMessage as OnRawMessage
seems to have a bug that won't report the BytesRemaining for incomplete
messages. OnBinaryMessage properly returns a bool flag like how the C#
implementation works.

# API and ABI breaking changes

N/A

# Expected complexity level and risk

2 - Underlying framework change on how messages are handled

# Testing

Blackholio was no longer working and is back in working order; however
Unreal test framework has been broken due to the work on Result<> as the
companion PR has not been merged.

- [x] Rebuilt and ran Unreal Blackholio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants