Skip to content

OnLoadEventCompleted triggered twice if only host connected #2283

Closed
@Dockyardb

Description

@Dockyardb

Description

When you start a server as an host and nobody else connects the OnLoadEventCompleted and OnSceneEvent with sceneEvent.SceneEventType = OnLoadEventCompleted gets triggered twice. If there is a connected client this wont happen.

Reproduce Steps

  1. Host a server
  2. Subscribe to the OnLoadEventCompleted
  3. Change the Scene

Actual Outcome

It is triggered twice

Expected Outcome

It should only be triggered once.

Environment

  • OS: Windows
  • Unity Version: 2022.1.20f1
  • Netcode Version: 1.1.0

Metadata

Metadata

Labels

priority:lowThis issue has low priority and will take some time to be resolvedstat:importedStatus - Issue is tracked internally at Unitytype:bugBug Report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions