Skip to content

Conversation

@NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Jan 14, 2025

This fixes an issue with distributing parented children that have the distributable and/or transferrable permissions set and have the same owner as the root parent, that has the distributable permission set, were not being distributed to the same client upon the owning client disconnecting when using a distributed authority network topology.

Changelog

  • Fixed: Issue with distributing parented children that have the distributable and/or transferrable permissions set and have the same owner as the root parent, that has the distributable permission set, were not being distributed to the same client upon the owning client disconnecting when using a distributed authority network topology.

Testing and Documentation

  • Includes integration test ParentChildDistibutionTests.
  • Public documentation for rules to object distribution with parented NetworkObjects: PR-1423

This is the initial fix for distributing parented children that have the distributable and/or transferrable permissions set and have the same owner as the root parent, that has the distributable permission set, upon the owning client disconnecting when using a distributed authority network topology.
Adding initial change log entry.
adding PR number to entry
Handle check for parent earlier.
Add additional comment details.
@michalChrobot michalChrobot added stat:awaiting-triage Status - Awaiting triage from the Netcode team. and removed stat:awaiting-triage Status - Awaiting triage from the Netcode team. labels Jan 16, 2025
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review February 5, 2025 14:31
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner February 5, 2025 14:31
Adding DAHost side object hierarchy redistribution when a client disconnects.
Adding a DA specific work around for integration testing when instantiating and spawning a player within the test runner scene.
The test to validate these changes using a DAHost.
Removing white spaces
Adding ownership locking to the test.
@NoelStephensUnity NoelStephensUnity merged commit c369bfd into develop-2.0.0 Feb 10, 2025
24 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/distribute-parented-children-with-root-parent branch February 10, 2025 21:29
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.

4 participants