UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DataChannelInternal Namespace Reference

Variables

UObjectCurrentSubObjectOwner = nullptr
 
bool bIgnoreLegacyReplicateSubObject = false
 
bool bTrackReplicatedSubObjects = false
 
bool bTestingLegacyMethodForComparison = false
 

Variable Documentation

◆ bIgnoreLegacyReplicateSubObject

bool DataChannelInternal::bIgnoreLegacyReplicateSubObject = 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.

◆ bTestingLegacyMethodForComparison

bool DataChannelInternal::bTestingLegacyMethodForComparison = false

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.

◆ bTrackReplicatedSubObjects

bool DataChannelInternal::bTrackReplicatedSubObjects = false

When enabled store all subobjects written into the bunch in the ReplicatedSubObjectsTracker array

◆ CurrentSubObjectOwner

UObject* DataChannelInternal::CurrentSubObjectOwner = nullptr

Track the owner of the next subobjects replicated via ReplicateSubObject. Nulled out after every call to UActorChannel::ReplicateActor()