Skip to content

Conversation

EmandM
Copy link
Collaborator

@EmandM EmandM commented Oct 7, 2025

Purpose of this PR

Ensure NetworkConnectionManager correctly handles multiple disconnect messages being sent.

Jira ticket

MTTB-1339
MTTB-1628
fixes: #2858
fixes: #3695

Changelog

  • Fixed: Multiple disconnect events from the same transport id will no longer shutdown the host
  • Changed: NetworkManager.GetTransportIdFromClientId and NetworkManager.GetClientIdFromTransportId now return ulong:MaxValue when the clientId or the transportId doesn't exist, rather than zero.

Documentation

  • No documentation changes or additions were necessary.

Testing & QA (How your changes can be verified during release Playtest)

Functional Testing

  • Manual testing done

Automated tests:

  • Covered by existing automated tests
  • Covered by new automated tests

Does the change require QA team to:

  • Review automated tests?
  • Execute manual tests?
  • Provide feedback about the PR?

If any boxes above are checked the QA team will be automatically added as a PR reviewer.

Backports

Backported in #3721

@EmandM EmandM requested a review from a team as a code owner October 7, 2025 16:02
@EmandM EmandM added the port:1.x-needed This issue needs to be ported to 1.X branch label Oct 10, 2025
@EmandM EmandM enabled auto-merge (squash) October 14, 2025 14:07
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity left a comment

Choose a reason for hiding this comment

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

👍

@EmandM EmandM merged commit 17a2c04 into develop-2.0.0 Oct 15, 2025
24 checks passed
@EmandM EmandM deleted the fix/transport-double-disconnect branch October 15, 2025 17:39
@EmandM EmandM added port:1.x-completed This issue was ported to 1.X branch and removed port:1.x-needed This issue needs to be ported to 1.X branch labels Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

port:1.x-completed This issue was ported to 1.X branch

Projects

None yet

3 participants