ClientTravel does not Timeout

Currently, ClientTravel does not timeout (nor does JoinSession or OpenLevel).

Steps to reproduce:

Call ClientTravel with an invalid IP address.

What happens:

The client will sit and wait until the host is online. If the host eventually comes back online, the client will eventually connect to them. The client never times out, though, and the connection is still open and waiting for a host.

Expectation:

You’d expect that there would be some sort of Timeout that would take place. The ConnectionTimeout is set to 60 seconds, but even after 60 seconds, no error is thrown.

1 Like

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Did anything come out of this? I’m having the same problem with UE 5.1, the ClientTravel never times out, and neither OnTravelError nor OnNetworkFailure are called.

1 Like

I think I found the answer in the UE source code.
(the UNetDriver::PostInitProperties function in Engine/Private/NetDriver.cpp)

It appears that the Engine sets itself to never time out during PIE. There doesn’t seem to be a way to disable this without modifying the source code.

Hope it helps

3 Likes