Duplicated component is invisible

I am trying to duplicate the UStaticMeshComponent within an Actor. I use ‘DuplicateObject()’ function.

Despite of parenting I do after duplication the component appears in Actor’s component tree only if it is copied to this Actor’s UPROPERTY.

Even if it is copied to UPROPERTY though, it is invisible (but in simulation I see that the mesh and the material are both set to same values as in original component).

I have tried ‘StaticDuplicateObjectEx()’, ‘StaticDuplicateObject()’ and ‘DuplicateObject()’ functions and all these functions give same results.

Call RegisterComponent() after duplicate will solving the problem.