![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Variables | |
| UObject * | CurrentSubObjectOwner = nullptr |
| bool | bIgnoreLegacyReplicateSubObject = false |
| bool | bTrackReplicatedSubObjects = false |
| bool | bTestingLegacyMethodForComparison = false |
When enabled we will ignore requests to replicate a subobject via the public ReplicateSubObject function. This occurs when the subobjects belong to an ActorComponent converted to the registered list, but the owner does not support it yet so we still call ReplicateSubObjects on the actor. This flag is controlled via UActorChannel::SetCurrentSubObjectOwner, so it is important for users to set the owner properly if they are controlling component replication themselves.
This flag is true when an actor using the new subobject list is calling the legacy function to look for divergences between the old and new method. This ensures that the subobjects replicated the old way are only collected and not replicated.
When enabled store all subobjects written into the bunch in the ReplicatedSubObjectsTracker array
| UObject* DataChannelInternal::CurrentSubObjectOwner = nullptr |
Track the owner of the next subobjects replicated via ReplicateSubObject. Nulled out after every call to UActorChannel::ReplicateActor()