Description

UWorld::InternalGetNetMode will use DemoNetDriver->GetNetMode() if there is a DemoNetDriver, resulting in NM_ListenServer being returned when recording a replay. This seems to have been originally added to resolve some issue with IsClient and IsServer, which are now deprecated.

Steps to Reproduce

In a standalone instance, start recording a replay and then check UWorld::GetNetMode.
Expected: the net mode will be NM_Standalone
Actual: the net mode will be NM_ListenServer

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-168278 in the post.

0
Login to Vote

Fixed
ComponentUE - Networking
Affects Versions5.1
Target Fix5.3
Fix Commit24434078
Main Commit24436821
CreatedOct 25, 2022
ResolvedFeb 27, 2023
UpdatedDec 13, 2023