Skip to content

Conversation

NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Jun 26, 2025

This resolves the Forum-1658887 discovered client-server specific issue in the v2.4.2 release where spawned objects with the default NetworkObject.DontDestroyWithOwner setting (disabled/false) would not be despawned and destroyed when the owning client disconnected.

MTTB-1396

Changelog

  • Fixed: Issue where spawned objects with NetworkObject.DontDestroyWithOwner set to false would not be destroyed when using a client-server network topology.

Testing and Documentation

  • Includes updates to the NetworkObjectDontDestroyWithOwnerTests integration test.
  • No documentation changes or additions were necessary.

Backport

This is specific to NGO v2.4.2 release.

Resolves the issue where objects would not despawn with their owners.
Updating the NetworkObjectDontDestroyWithOwnerTests to also test for when the DontDestroyWithOwner is not set and making the test compatible with the CI CMB service testing.
Making the changelog reflect an unreleased version.
Adding PR number to change log entry.
@NoelStephensUnity NoelStephensUnity changed the base branch from develop-2.0.0 to release/2.4.3 June 26, 2025 00:06
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review June 26, 2025 00:07
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner June 26, 2025 00:07
@NoelStephensUnity NoelStephensUnity merged commit 6afbdc6 into release/2.4.3 Jun 26, 2025
33 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/dontdestroywithowner-2-4-2-regression branch June 26, 2025 01:47
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.

1 participant