UEC++ From Basics to Advanced | M35-019: Property Replication Best Practices and Notes

This lesson covers advanced property replication details: the RepNotify condition parameter (REPNOTIFY_Always vs REPNOTIFY_OnChanged), custom replication conditions with DOREPLIFETIME_CONDITION, and the DOREPLIFETIME_ACTIVE_OVERRIDE function for dynamic condition control. The instructor demonstrates a custom condition that forces replication of a value even when it hasn't changed, using DOREPLIFETIME_ACTIVE_OVERRIDE to enable/disable replication at runtime. Pointer replication is also discussed: pointers are serialized as GUIDs and must point to replicated Actors or objects with stable names on both server and client. The lesson emphasizes that while property replication is bandwidth-efficient for frequently changing values, it should not be relied upon for critical ordered operations where RPC is more appropriate.