FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: network manager does not clean up if exception is thrown while starting by NoelStephensUnity · Pull Request #3864 · Unity-Technologies/com.unity.netcode.gameobjects · GitHub

fix: network manager does not clean up if exception is thrown while starting - #3864

Merged
EmandM merged 13 commits into
develop-2.0.0from
fix/3552-networkmanager-fails-to-cleanup-if-exception-thrown-during-start
Feb 2, 2026
Merged

fix: network manager does not clean up if exception is thrown while starting#3864
EmandM merged 13 commits into
develop-2.0.0from
fix/3552-networkmanager-fails-to-cleanup-if-exception-thrown-during-start

Conversation

NoelStephensUnity commented Jan 28, 2026
edited by EmandM
Loading

Copy link
Copy Markdown
Member

Purpose of this PR

Fixes the issue where NetworkManager would not clean up if an exception was thrown while it was starting. This could result in a host or server not completing the start process yet would still have internal systems (i.e. NetworkConnectionManager, NetworkMessageManager, and UnityTransport) initialized. If a client attempted to connect to a server or host in this state it could result in the server or host logging the following error message:
[Netcode] A ConnectionRequestMessage was received from the server on the client side.

Jira ticket

MTT-13631
UUM-131553
fix: #3552

Changelog

  • Fixed: Issue where NetworkManager was not cleaning itself up if an exception was thrown while starting.

Documentation

  • No documentation changes or additions were necessary.

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

Functional Testing

Manual testing :

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

TBD

EmandM marked this pull request as ready for review January 30, 2026 18:34
EmandM requested a review from a team as a code owner January 30, 2026 18:34

EmandM left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Approved by @NoelStephensUnity as well!

EmandM merged commit 263dd4b into develop-2.0.0 Feb 2, 2026
23 checks passed
EmandM deleted the fix/3552-networkmanager-fails-to-cleanup-if-exception-thrown-during-start branch February 2, 2026 20:27
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConnectionRequestMessage was received from the server on the client side

2 participants


Back | FazBrowse Home | New Git URL