Client Disconnect Due to Timeout Is Not Logged #2390
Labels
priority:low
This issue has low priority and will take some time to be resolved
stat:imported
Status - Issue is tracked internally at Unity
stat:reply-needed
Awaiting reply from Unity account
Tracking
Has been added to tracking
type:bug
Bug Report
Description
When ever a client times out due to inactivity, no special information is sent to the console to distinguish it from other types of disconnects. This occurs even if the NetworkManagers LogLevel is set to 'Developer'.
Reproduce Steps
Actual Outcome
Client is disconnected with a generic message, specifically
[Netcode] Disconnect Event From 0
Expected Outcome
Some kind of error message that is useful to determining why a client disconnected (For example: Client Timed Out).
Screenshots
Sample Config:

Environment
Additional Context
This, combined with the DisconnectReason being empty bug, makes debugging the cause of certain client disconnect events near impossible.
In addition, I would consider adding some validation to the UnityTransport editor to ensure that the heartbeat is lower than the disconnect timeout
The text was updated successfully, but these errors were encountered: