Skip to content

Conversation

@NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Sep 26, 2024

Regression Bug
During the distributed authority updates a regression bug occurred where NetworkObject.SpawnWithObservers was no longer being honored in both client-server and distributed authority network topologies when spawning player prefabs.

MTTB-479

fix: #3076

Changelog

  • Fixed: Issue where NetworkObject.SpawnWithObservers was not being honored when spawning the player prefab.

Testing and Documentation

  • Includes integration test PlayerSpawnNoObserversTest.
  • No documentation changes or additions were necessary.

When SpawnWithObservers is disabled on player prefab, the instantiated instance should only spawn on the authority side.
For client-server this will always be the server/host.
For distributed authority this will always be the owner.
Validation test for the SpawnWithObservers regression bug.
updating changelog entry
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review September 26, 2024 22:25
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner September 26, 2024 22:25
@NoelStephensUnity NoelStephensUnity merged commit cb7ec98 into develop-2.0.0 Sep 27, 2024
24 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/player-prefab-not-honoring-spawn-with-observers branch September 27, 2024 14:23
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.

3 participants