Hi, it seems like the pending net driver is not being cancelled when it should be (as described in the “steps to reproduce”). We have fixed this crash by making the following modification to UEngine::Browse(). This prevents UWorld::SetGameMode from thinking that the instance is a NM_Client incorrectly.
`if( URL.IsLocalInternal() )
{
// Local map file.
//BEGIN: Cancel pending net game when attempting to host a listen server since you’re in a bad state
if( WorldContext.PendingNetGame && URL.HasOption(TEXT(“listen”)))
{
CancelPending(WorldContext);
}
//END: Cancel pending net game when attempting to host a listen server since you’re in a bad state
return LoadMap( WorldContext, URL, NULL, Error ) ? EBrowseReturnVal::Success : EBrowseReturnVal::Failure;
}`Is there any scenario where you’d want to keep your pending net connection when you’re going to a local internal URL that’s attempting to become a listen server? Does this seem like a fix that should be part of the engine going forward?
Thanks.