Skip to content

Relay disconnects player during loading big scenes. #2066

@AwixStudio

Description

@AwixStudio

Description

Relay disconnects player during loading big scenes due to "inactive". This problem exist only in Unity 2021.3 In 2021.2 everything works fine for the same project and the same setup. So it looks like it is definitly somethink wrong in 2021.3.

Reproduce Steps

  1. Crete really big scene, which loading in, can take long time
  2. Try load scene
  3. Player is disconnected due to inactive

Actual Outcome

During loading scene with NetworkSceneManager player gets disconnect and error apear:
Received error message from Relay: player timed out due to inactivity. This could be due to an inappropriate value for reconnectionTimeMS when calling NetworkSettings.WithRelayParameters. Also make sure to schedule NetworkDriver updates frequently to avoid this error.

Expected Outcome

Scenes should be loaded without disconnecting players.

Environment

  • OS: Windows 10
  • Unity Version: 2021.3.5f1
  • Netcode Version: 1.0.0

Additional Context

There is no way to change reconnectionTimeMS because Unity override it to 8 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:lowThis issue has low priority and will take some time to be resolvedtype:supportQuestions or other support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions