To replicate position and yaw make a member variable of this class in yourFReplicatedAgentBasederived class. In theFReplicatedAgentBasederived class you must also provide an accessor functionFReplicatedAgentPathData& GetReplicatedPositionYawDataMutable().