Hi everybody,
My game occasionally loses connection, the lobby works normally but when 2 players are ready, they cannot connect to each other. Here is the error:
2024/04/30 14:16:28.452 19535 19595 Warn Unity [Netcode] Cannot start Host while an instance is already running
2024/04/30 14:16:28.452 19535 19595 Warn Unity Unity.Netcode.NetworkManager:CanStart(StartType)
2024/04/30 14:16:28.452 19535 19595 Warn Unity Unity.Netcode.NetworkManager:StartHost()
2024/04/30 14:16:28.452 19535 19595 Warn Unity d__55:MoveNext()
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Threading.Tasks.Task:FinishContinuations()
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Threading.Tasks.Task1:TrySetResult(TResult) 2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1:SetResult(TResult)
2024/04/30 14:16:28.452 19535 19595 Warn Unity d__57:MoveNext()
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Threading.Tasks.Task:FinishContinuations()
2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Threading.Tasks.Task1:TrySetResult(TResult) 2024/04/30 14:16:28.452 19535 19595 Warn Unity System.Runtime.CompilerServices.As 2024/04/30 14:16:28.653 19535 19595 Warn Unity [Netcode] Cannot start Host while an instance is already running 2024/04/30 14:16:28.653 19535 19595 Warn Unity Unity.Netcode.NetworkManager:CanStart(StartType) 2024/04/30 14:16:28.653 19535 19595 Warn Unity Unity.Netcode.NetworkManager:StartHost() 2024/04/30 14:16:28.653 19535 19595 Warn Unity <CreateNetworkManager>d__55:MoveNext() 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Runtime.CompilerServices.MoveNextRunner:Run() 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Threading.Tasks.Task:FinishContinuations() 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Threading.Tasks.Task
1:TrySetResult(TResult)
2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetResult(TResult) 2024/04/30 14:16:28.653 19535 19595 Warn Unity <SetRelayHostData>d__57:MoveNext() 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Runtime.CompilerServices.MoveNextRunner:Run() 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&) 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Threading.Tasks.Task:FinishContinuations() 2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Threading.Tasks.Task
1:TrySetResult(TResult)
2024/04/30 14:16:28.653 19535 19595 Warn Unity System.Runtime.CompilerServices.As