Problem: ChildActor Component are duplicated

Hi,

I’m trying to make a ChildActor Component (another blueprint actor) to replicate and end up with a duplicated actor.

Let’s say my Pawn is a tank, which can swap between two Turrets. The tank Pawn Blueprint is having two ChildActor which are Blueprint on their own. Those Turrets Blueprint are set to Replicates under the Class Defaults section, so all clients see what’s happening when they shoot, move, transform, whatever.

But setting the Turret blueprint to replicates will make them to duplicate when they spawn. Most likely because the server spawn a version of his own, and whatever the server spawn, he send it to the other clients, hence the duplicate.

So, how do we work with ChildActors ? What’s the trick to replicate them ?

Thanks

60954-replicated_component.jpg