Skip to content

Conversation

@NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Oct 8, 2024

Backport of #3088

  • Provide instantiate and destroy notifications for NetworkManager
  • Fixed an issue with a recently merged PR (not yet released) where the default player prefab's position and rotation would not be used when spawning.

Changelog

  • Added: A static NetworkManager.OnInstantiated event notification to be able to track when a new NetworkManager instance has been instantiated.
  • Added: A static NetworkManager.OnDestroying event notification to be able to track when an existing NetworkManager instance is being destroyed.

Testing and Documentation

  • Includes integration test.
  • Documentation additions to public site are necessary (added to internal tracking).

Adding NetworkManager.Instantiated and NetworkManager.Destroying event notifications.
Adding validation test.
Adding changelog entries.
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review October 8, 2024 18:22
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner October 8, 2024 18:22
Fixing player instantiation position and rotation issue introduced in an earlier PR (but not yet released).
test to validate the player spawn position fix.
adding the observers test from v2.0.0 (just good to have that in v1.x.x)
remove whitespaces
@NoelStephensUnity NoelStephensUnity merged commit 8477fd4 into develop Oct 8, 2024
24 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/networkmanager-instantiatedestroy-notifications-and-playerspawn-prefab-offset-backport branch October 8, 2024 22:52
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