Skip to content

Conversation

@EmandM
Copy link
Member

@EmandM EmandM commented Dec 5, 2025

Purpose of this PR

CMB service doesn't send a UTP disconnection when disconnecting a client after an invalid ConnectionRequest.
This PR ensures that anytime a DisconnectReasonMessage is received when using the CMB service, the NetworkManager is disconnected as expected.

Jira ticket

MTTB-1768

Changelog

  • Fixed: Shutdown immediately after a DisconnectReasonMessage is received with CMB service

Documentation

  • No documentation changes or additions were necessary.

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

Functional Testing

Manual 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

CMB service is 2.x only

@EmandM EmandM requested a review from a team as a code owner December 5, 2025 21:39
EmandM and others added 3 commits December 5, 2025 16:40
Adding the UnityEngine namespace.
removing extra line.
Copy link
Member

@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.

Looks good to me!
🚀

@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) December 6, 2025 00:20
removing UnityEngine using directive.
This resolves an issue with the previous fix for the DA service disconnect issue where it should only early exit a disconnect event if there is not connected client and it is the server =or= it is a client connected to the CMB service backend and the clients locally stored transport ID is no longer valid.
@NoelStephensUnity NoelStephensUnity merged commit c3d198d into develop-2.0.0 Dec 6, 2025
23 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/cmb_service_disconnect branch December 6, 2025 21:54
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.

3 participants