Actor GetNetMode() can return the wrong value in EndPlay when the PIE world is being shut down.

Steps to Reproduce

Create a test actor that logs the GetNetMode() in BeginPlay and EndPlay.
Place that actor in a test map.
Launch the map in PIE with a dedicated server and one client (single process).
Stop the PIE world.
Note that the server will log NM_Standalone for the EndPlay of the actor.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Networking
Affects Versions4.21
Target Fix4.22
Fix Commit4755682
Main Commit4804559
Release Commit4862694
CreatedJan 18, 2019
ResolvedJan 18, 2019
UpdatedFeb 12, 2019