Skip to content

Conversation

@NoelStephensUnity
Copy link
Collaborator

Purpose of this PR

Jira ticket

Link to related jira ticket (Use the smart commits). Short version (e.g. MTT-123) also works and gets auto-linked

Changelog

  • Added: The package whose Changelog should be added to should be in the header. Delete the changelog section entirely if it's not needed.
  • Fixed: If you update multiple packages, create a new section with a new header for the other package.
  • Removed/Deprecated/Changed: Each bullet should be prefixed with Added, Fixed, Removed, Deprecated, or Changed to indicate where the entry should go.

Documentation

  • No documentation changes or additions were necessary.
  • Includes documentation for previously-undocumented public API entry points.
  • Includes edits to existing public API documentation.

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

NoelStephensUnity and others added 13 commits October 25, 2025 14:15
Changelog release date and version.
Reverting changes made in 3664 with the time used when interpolating to local time.
Added additional comments to prevent future fiddling with that (whether to use local or server time).
* fix

Reset the disconnect reason when the server-side is disconnecting a client.

* test

Updating the disconnect test to validate that the disconnect reason is reset when a server force disconnects a client.
…hildNetworkBehaviours (#3756)

* fix

This resolves the issue where a disabled NetworkBehaviour was being included in the ChildNetworkBehaviours list which would cause an exception upon a client attempting to synchronize.

* update

Adding a warning generation method to make testing easier.

* test

Modifying the original test for this to assure it checks for the correct error message.

* test - refactor

Adding a bit more coverage to the `ValidatedDisableddNetworkBehaviourWarning` test so it validates that when either a child GameObject is set inactive or the NetworkBehaviiour itself is disabled the warning message is generated and the network prefab still spawns and synchronizes.
* fix

Fixing issue with duplicated disconnect reasons for all cases.

* test - update

Making adjustments to the validation logic checking to determine if a server's disconnect reason is included in the NetworkManager.DisconnectReaon property.

* style

Removing a trailing whitespace

* test - update

One more area that needs to check for the server reason but not be a 1:1 due to the additional disconnect information before it.
…luded by lack of MP tools (#3761)

* fix

Use the GameObject.activeInHierarchy fix.
Allow disabled NetworkBehaviour with a disabled GameObject to internally start pre-spawn but exit before invoking protected method.

* test - update

Re-factoring this test to align with the previously committed fix.

* tests - enable

Now that we have included the Mutliplayer Tools package in the test project, we needed to remove the !MULTIPLAYER_TOOLS check to assure these tests are actually being run.
* fix: NetworkAnimator initialization sequencing

* Update changelog
* test - fix

Resolving the PeerDisconnectCallbackTests instability where sometimes the disconnect notification is processed prior to the targeted client's NetworkManager having completely disconnected and shutdown (this would only have a chance of happening if server disconnects the client).

Hoping to resolve the instability with the ParentingInSceneObjectsTests resulting in a false failure.

* test fix

Fixing potential cause for instabilities on this set of tests due to the initial network prefab transform settings not being applied to the prefab but applied to the spawned instances which could be causing issues since they were being applied to the non-authority instances.

This fix moves the applied test NetworkTrransform settings to the player prefab prior to spawning any instances.
Testing validation using release/2.7.0 branch
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner October 31, 2025 18:51
@unity-cla-assistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ NoelStephensUnity
✅ EmandM
❌ svc-netcode-sdk
You have signed the CLA already but the status is still pending? Let us recheck it.

@NoelStephensUnity NoelStephensUnity changed the title Chore/testing validation chore: testing validation Oct 31, 2025
@NoelStephensUnity
Copy link
Collaborator Author

Issues was resolved, closing this temp pr

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.

5 participants