Skip to content

[#2980] Fix dropping of outbound configuration packets if sync processed#2982

Merged
dmulloy2 merged 1 commit intodmulloy2:masterfrom
Imprex-Development:2980-fix-configuration-packet-sync-processing
Jun 6, 2024
Merged

[#2980] Fix dropping of outbound configuration packets if sync processed#2982
dmulloy2 merged 1 commit intodmulloy2:masterfrom
Imprex-Development:2980-fix-configuration-packet-sync-processing

Conversation

@Ingrim4
Copy link
Copy Markdown
Collaborator

@Ingrim4 Ingrim4 commented Jun 6, 2024

In our current implementation, asnc packet calls are rescheduled to the main thread using the PlayerConnection::send method. However, this approach relies on the PlayerConnection being defined, which only occurs after the initial configuration phase is complete. This PR addresses a scenario where the PlayerConnection might be null during this initial phase. To handle such cases we now invoke the NetworkManager directly to skip the PlayerConnection.

closes #2980

@dmulloy2 dmulloy2 enabled auto-merge (squash) June 6, 2024 18:36
@dmulloy2 dmulloy2 merged commit 389314c into dmulloy2:master Jun 6, 2024
@Ingrim4 Ingrim4 deleted the 2980-fix-configuration-packet-sync-processing branch May 17, 2025 17:01
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.

Listening to any packet under PacketType.Configuration.Server causes client to hang forever when joining

2 participants