During PIE instance initialization, there seems to be a window during which UWorld::GetNetMode will not return the expected value: before the instance's NetDriver has been created but after UGameInstance::StartPlayInEditorGameInstance calls UWorld::InitializeActorsForPlay. Because the Actors are initialized, the PlayInEditorNetMode will not be returned, but the URLNetMode retrieved from AttemptDeriveFromURL will still be NM_Standalone.
Start a PIE session using either the "Play as Listen Server" or "Play as Client" Net Mode.
Call UWorld::GetNetMode during the GameMode's InitGame function.
Expected: The world's NetMode would either be NM_ListenServer or NM_DedicatedServer depending on the Net Mode selected.
Actual: The world's NetMode will be NM_Standalone.
Lyra Repro:
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
How to achieve HLSL Multiple Render Target in Material blueprints?
Trying to launch , erorr,dll missing
Why does the system plugin 'UnrealBuildTool' error could not be found when the project is compiled?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-174595 in the post.
0 |
Component | UE - Networking |
---|---|
Target Fix | 5.3 |
Created | Jan 19, 2023 |
---|---|
Resolved | Feb 27, 2023 |
Updated | May 19, 2023 |