Subobject Replication for Blueprint Child Class

Wow I forgot I posted this so long ago but yes! I did find a solution which was answered on UE4 Answer HUB. Basically you just need to add the following big of code in the “GetLifetimeReplicatedProps” function:



void UNetworkObject::GetLifetimeReplicatedProps(TArray< FLifetimeProperty > & OutLifetimeProps) const
{
    Super::GetLifetimeReplicatedProps(OutLifetimeProps);

    UBlueprintGeneratedClass * bpClass = Cast<UBlueprintGeneratedClass>(this->GetClass());
    if (bpClass != nullptr)
    {
        bpClass->GetLifetimeBlueprintReplicationList(OutLifetimeProps);
    }
}
​​​​​​​

1 Like