I have a related question about this
I copied some stuff from ShooterGame into my game.
**PreReplication function:**
// Only replicate this property for a short duration after it changes so join in progress players don't get spammed with fx when joining late
DOREPLIFETIME_ACTIVE_OVERRIDE(AMyCharacter, LastTakeHitInfo, GetWorld() && GetWorld()->GetTimeSeconds() < LastTakeHitTimeTimeout);
and
**GetLifetimeReplicatedProps function:**
DOREPLIFETIME_CONDITION(AMyCharacter, LastTakeHitInfo, COND_Custom);
this worked fine, but now I’m moving all of my code into Components (to make things modular)
Components replicate fine with DOREPLIFETIME, but I can’t seem to use COND_Custom at all. it says PreReplication override did not override any base class methods. is this not supported?