Download

Stop clients disconnecting during debugging

Does anybody know where abouts I can find the code that picks up if a client hasn’t recieved anything from the server for a while and decides to close the session?

I’m trying to breakpoint through code to find the source of a bug however its proving increasingly difficult as the clients keep disconnecting themselves during breakpoints

There are a few network-related timeouts built in to the engine, which you can modify in your DefaultEngine.ini file:
Maybe changing these values should work?


[/Script/OnlineSubsystemUtils.IpNetDriver]
ConnectionTimeout=60.0
InitialConnectTimeout=60.0