Description
The variable NetworkManager.DisconnectReason is always empty. The code that sets this variable in the NetworkManager is never activated with UTP.
Reproduce Steps
- Build a new project with netcode
- Place a break point on line 47 of DisconnectReasonMessage.cs, the only function that accesses NetworkManager.DisconnectReason
- Perform various Disconnects (connection interruption, timeout, client stopped, ect)
Actual Outcome
Breakpoint that sets the DisconnectReason is never tripped, leaving the variable as empty string
Expected Outcome
The variable will get some information about why the server disconnected the client
Environment
- OS: Windows 12
- Unity Version: 2021.3.12f1
- Netcode Version: 1.2.0
- Unity Transport Version: 1.3.0
Description
The variable NetworkManager.DisconnectReason is always empty. The code that sets this variable in the NetworkManager is never activated with UTP.
Reproduce Steps
Actual Outcome
Breakpoint that sets the DisconnectReason is never tripped, leaving the variable as empty string
Expected Outcome
The variable will get some information about why the server disconnected the client
Environment