UHT will only emit the REPLICATED_BASE_CLASS macro and set the NeedsPushModelHeaders flag when the class has replicated properties. If a base class doesn't have any replicated properties, it will lead to the check in UObject::SetNetPushIdDynamic being hit when attempting to replicate an object whose class is derived from this base class.

Steps to Reproduce

See attached repro project.
Create a base class (deriving from UObject) with no replicated properties.
Create a BP class deriving from this base class with replicated properties.
With push model enabled, create a replicated instance of this derived BP object.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Networking
Affects Versions5.3
Target Fix5.5
CreatedJun 5, 2023
UpdatedFeb 29, 2024
View Jira Issue