Add opt-in eviction of disconnected lobby members to free seats - #99
Open
Maryam (maryammadzadeh) wants to merge 1 commit into
Open
Conversation
Maryam (maryammadzadeh)
force-pushed
the
feature/reclaim-disconnected-member-seats
branch
from
July 10, 2026 18:17
83f0289 to
6092d06
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an opt-in mechanism for the lobby owner to reclaim seats held by members whose connection was lost (e.g. a client crash) without a graceful PFLobbyLeave. When [OnlineSubsystemPlayFab] MemberDisconnectEvictionSeconds is greater than 0, the owner schedules any member reported NotConnected for eviction, cancels it if they reconnect within the grace window, and otherwise calls PFLobbyForceRemoveMember to free the seat. Defaults to 0 (disabled), preserving the SDK's existing reconnect-friendly behavior, so the change is fully additive and non-breaking.
Why this is ideal: without it, a crashed client's seat stays occupied indefinitely, so a full lobby permanently rejects new joins (0x89236227) even though a player is effectively gone — a common and hard-to-diagnose failure in listen-server topologies. This gives games a single, general-purpose knob to reclaim those seats automatically while still honoring the common reconnect case, rather than forcing each title to build its own crash-detection and force-remove logic.