Skip to content

Conversation

andrews-unity
Copy link
Contributor

Original PR: #1379

* fix

Only allow a host to include itself in the clients completed list of a SceneEventProgress (i.e. don't include dedicate-server only).

* style

adding adjusted comments.

* test

Updated SceneLoadingAndNotifications to run as a host and a server in order to test that when running as a server the SceneEventType.LoadEventCompleted and SceneEventType.UnloadEventCompleted events are triggered without the server being added to the ClientsThatCompleted list within the SceneEvent.

* update changelog

Updating the changelog file with this fix information.
@andrews-unity andrews-unity enabled auto-merge (squash) November 24, 2021 12:05
@andrews-unity andrews-unity merged commit dc437c7 into release/1.0.0 Nov 24, 2021
@andrews-unity andrews-unity deleted the backport/1.0.0-fix-LoadEventCompleted-fires-early branch November 24, 2021 12:23
mollstam pushed a commit to Keepsake-Games/com.unity.netcode.gameobjects that referenced this pull request Feb 13, 2023
…y-Technologies#1464)

* fix

Only allow a host to include itself in the clients completed list of a SceneEventProgress (i.e. don't include dedicate-server only).

* style

adding adjusted comments.

* test

Updated SceneLoadingAndNotifications to run as a host and a server in order to test that when running as a server the SceneEventType.LoadEventCompleted and SceneEventType.UnloadEventCompleted events are triggered without the server being added to the ClientsThatCompleted list within the SceneEvent.

* update changelog

Updating the changelog file with this fix information.

Co-authored-by: Unity Netcode CI <[email protected]>
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