Skip to content

fix: SceneEventProgress does not handle NetworkManager shut down during scene event #2254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 13, 2022

Conversation

NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Oct 13, 2022

This fixes the issue with SceneEventProgress not gracefully handling the scenario where the NetworkManager shuts down during a scene event. (regression from recent update to SceneEventProgress)

Testing and Documentation

  • Includes integration test.

This resolves the issue where SceneEventProgress was not checking if the NetworkManager was no longer listening or a shutdown was in progress.
Combined the network session check into a single method.
Added additional comments.
Added additional NetworkLog warning when a client times out during connection approval.
Added a mock test to verify SceneEventProgress can handle the NetworkManager shutting down during a scene event.
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner October 13, 2022 19:20
@NoelStephensUnity NoelStephensUnity merged commit ad633b2 into develop Oct 13, 2022
@NoelStephensUnity NoelStephensUnity deleted the fix/scene-event-progress-regression-bugs branch October 13, 2022 21:10
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
…ng scene event (Unity-Technologies#2254)

* fix
This resolves the issue where SceneEventProgress was not checking if the NetworkManager was no longer listening or a shutdown was in progress.

* update
Added additional NetworkLog warning when a client times out during connection approval.

* test
Added a mock test to verify SceneEventProgress can handle the NetworkManager shutting down during a scene event.
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.

2 participants