Skip to content

Add opt-in eviction of disconnected lobby members to free seats - #99

Open
Maryam (maryammadzadeh) wants to merge 1 commit into
PlayFab:mainfrom
maryammadzadeh:feature/reclaim-disconnected-member-seats
Open

Add opt-in eviction of disconnected lobby members to free seats#99
Maryam (maryammadzadeh) wants to merge 1 commit into
PlayFab:mainfrom
maryammadzadeh:feature/reclaim-disconnected-member-seats

Conversation

@maryammadzadeh

@maryammadzadeh Maryam (maryammadzadeh) commented Jul 9, 2026

Copy link
Copy Markdown

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.

@maryammadzadeh
Maryam (maryammadzadeh) force-pushed the feature/reclaim-disconnected-member-seats branch from 83f0289 to 6092d06 Compare July 10, 2026 18:17
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