Hi there,
we currently have an issue with our app, that when we try to reconnect one of our clients using Unity.Netcode, it does work in the beginning, but after a delay of about 80 seconds we get another message on the Clientside, that the connection to the server failed and it tries to shut down.
The thing is, we have a script for rejoining and already shut down the Network manager and restarted the scene. As seen below, this message triggers another shutdown AFTER that, which weirdly only stops the Client from seeing the movement, triggered by the host, but that should not happen.
Where is this Message/Connectionerror coming from and why the 80 seconds delay and where can we stop this from happening?
Best Regards
Florian Buchholz
2024/11/04 13:31:56.067 5138 5160 Error Unity Failed to connect to server.
2024/11/04 13:31:56.067 5138 5160 Error Unity Unity.Netcode.Transports.UTP.UnityTransport:ProcessEvent()
2024/11/04 13:31:56.067 5138 5160 Error Unity Unity.Netcode.Transports.UTP.UnityTransport:Update()
2024/11/04 13:31:56.067 5138 5160 Error Unity
2024/11/04 13:31:56.068 5138 5160 Info Unity [Netcode] Disconnect Event From 0
2024/11/04 13:31:56.068 5138 5160 Info Unity Unity.Netcode.NetworkConnectionManager:DisconnectEventHandler(UInt64)
2024/11/04 13:31:56.068 5138 5160 Info Unity Unity.Netcode.Transports.UTP.UnityTransport:ProcessEvent()
2024/11/04 13:31:56.068 5138 5160 Info Unity Unity.Netcode.Transports.UTP.UnityTransport:Update()
2024/11/04 13:31:56.068 5138 5160 Info Unity
2024/11/04 13:31:56.068 5138 5160 Info Unity [Netcode] Shutdown
2024/11/04 13:31:56.068 5138 5160 Info Unity Unity.Netcode.NetworkManager:Shutdown(Boolean)
2024/11/04 13:31:56.068 5138 5160 Info Unity Unity.Netcode.NetworkConnectionManager:DisconnectEventHandler(UInt64)
2024/11/04 13:31:56.068 5138 5160 Info Unity Unity.Netcode.Transports.UTP.UnityTransport:ProcessEvent()
2024/11/04 13:31:56.068 5138 5160 Info Unity Unity.Netcode.Transports.UTP.UnityTransport:Update()