Skip to content

[UE5.8] fix(signalling): do not crash when a forced subscription is declined (#958) - #969

Merged
mcottontensor merged 1 commit into
UE5.8from
backport/UE5.8/pr-958
Aug 12, 2026
Merged

[UE5.8] fix(signalling): do not crash when a forced subscription is declined (#958)#969
mcottontensor merged 1 commit into
UE5.8from
backport/UE5.8/pr-958

Conversation

@mcottontensor

Copy link
Copy Markdown
Collaborator

Backport

This will backport the following commits from master to UE5.8:

Questions ?

Please refer to the Backport tool documentation

…958)

* fix(signalling): do not crash when a forced subscription is declined

sendToStreamer() force-subscribes a player that sends a message while
unsubscribed, then forwards the message through non-null assertions on
subscribedStreamer. subscribe() can decline - most commonly because
maxSubscribers is already reached - and signals that only by leaving
subscribedStreamer unset, so the assertions throw a TypeError out of a
websocket message handler and bring the whole process down with them,
disconnecting every other player.

This is easiest to hit at --max_players 1, where the second player to
send anything is by definition over the limit.

Check the subscription took and disconnect that one player if it did
not, which is what the branch above already does when there is no
streamer to subscribe to at all.

* chore: declare wilbur in the forced-subscribe crash changeset

The fix ships to operators as Wilbur, so name it in the changeset rather
than letting it land as a bare "updated dependencies" entry. Matches the
two most recent Signalling changesets, which both list it alongside the
library.

---------

Co-authored-by: Matthew.Cotton <matt@tensorworks.com.au>
(cherry picked from commit c6e78fb)
@changeset-bot

changeset-bot Bot commented Aug 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 50da43b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@epicgames-ps/lib-pixelstreamingsignalling-ue5.8 Patch
@epicgames-ps/wilbur Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mcottontensor
mcottontensor merged commit e9cd872 into UE5.8 Aug 12, 2026
4 checks passed
@mcottontensor
mcottontensor deleted the backport/UE5.8/pr-958 branch August 12, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants