Skip to content

Denying connection approval results in a warning in Developer logging only #2501

@ezoray

Description

@ezoray

Description

With Developer Log Level and connection approval enabled, if approval is refused the server outputs this warning 10 seconds later:

[Netcode] Server detected a transport connection from Client-1, but timed out waiting for the connection request message.

Subsequent refusals result in a decrementing client id, -2, -3, etc.

Reproduce Steps

Set Log Level to Developer in the NetworkManager.
Enable Connection Approval.
Refuse a client connection.

Actual Outcome

The above warning is output 10 seconds later.

Expected Outcome

Presumably no such warning should output.

Environment

  • OS: macOS Big Sur
  • Unity Version: 2020 LTS
  • Netcode Version: develop

Additional Context

This isn't a recent issue, it's been there for a while but I only just got around to repeating it in a test project.

Metadata

Metadata

Assignees

Labels

priority:mediumThis issue has medium priority and may take some time to be resolvedstat:importedStatus - Issue is tracked internally at Unitytype:bugBug Report

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions