Making "ResolutionConnectionTimeout" more lenient in PIE

In our project, when launching PIE (as client, not under one process) with multiple clients, all but the first (editor viewport) client timeout with the following message:

Error: UEngine::BroadcastNetworkFailure: FailureType = ConnectionTimeout, ErrorString = UNetConnection::Tick: Connection TIMED OUT

due to exceeding “ResolutionConnectionTimeout”.

Is there a way to increase that value for PIE (including additional clients launched by PIE) without modifying the engine and without affecting behaviour in cooked builds?

I tried applying “TimeoutMultiplierForUnoptimizedBuilds” in UIpConnection::GetTimeoutValue if (Resolver->IsAddressResolutionConnecting() && (WITH_EDITOR || UE_BUILD_DEBUG)) and that does the job, but I’d prefer a solution that doesn’t require modifying engine code.

Thanks,

Alick

Steps to Reproduce
1: Launch play in editor, as client, not under one process with Number Of Players >1 (the larger this number, the more likely it is to happen)

2: Observe some clients lose connection to the server after 20s.

Hi,

I believe the only way to change the ResolutionConnectionTimeout without engine modifications is in your project’s DefaultEngine.ini, under “[/Script/OnlineSubsystemUtils.IpNetDriver]”.

If you want this to only affect the editor, you’ll need to implement a workaround to only have this config value applied to the editor. You can find more info here: [Content removed]

Thanks,

Alex

Thanks for the speedy response [mention removed]​ !