Child actor component never replicated

Thanks for answering.

The child actor is an actor, not a component. So It is an actor connected to the parent actor via the child actor component.

Here is how the system is setup:

  1. in C++ code I define a parent actor class and a child actor class (bReplicates = true on both of them).
  2. I create a blueprint that derives from the parent actor C++ class.
  3. I create a blueprint that derives from the child actor C++ class.
  4. I add a child actor component to the parent blueprint (in the components tab, not dynamically at begin play, but as part of the blueprint itself) and link both actors there.
  5. In the PostInitializeComponents of the parent C++ class I get the child actor component and call SetIsReplicated(true) on it (if HasAuthority)
  6. I add the blueprint to the scene (no dynamic spawning)

Somehow on the client, the parent is always a replica (has no authority) while the child always has authority.