Developer Notes

This is expected behavior. Dormant actors will still replicate to a connection once to spawn & apply the latest state of their replicated properties, then stop replicating until woken up.

Description

A user has reported that Net Dormancy is currently giving inconsistent and unexpected results. Their original report was that Net Dormancy was preventing replicated actors from disappearing when they were no longer relevant based on distance.

This was determined to be expected behavior. However, the fact that a replicated actor will replicate the first time it becomes relevant even though its Net Dormancy is set to DormantAll is not expected.

This issue may be related to [Link Removed]. This is why there are two actors in the reproduction, as one is a pure C++ class and the other is a Blueprint.

Regression?: No
This occurs in 4.20

Steps to Reproduce
  1. Download the attached project
  2. Generate Project Files / Compile / Open the project
  3. Change the Play settings to enable Dedicated Server
  4. Press Play
  5. Look and run towards the wall to the left.
    Result: Upon getting close enough, the Cube and Cone both appear.
    Expected: Due to their Net Dormancy being set to DormantAll, neither of the actors appear

Have Comments or More Details?

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

3
Login to Vote

By Design
ComponentUE - Networking
Affects Versions4.204.214.224.23
CreatedMar 15, 2019
ResolvedMar 18, 2019
UpdatedApr 5, 2019
View Jira Issue