Attach actor to an actor created in C++

I don’t know if this starting happening to me in version 5.1 but I am unable to attach any actor to another actor created with C++. The C++ actor has a RootComponent and a StaticMeshComponent assigned to it:

RootSceneComponent = CreateDefaultSubobject(TEXT(“Root”));
RootComponent = RootSceneComponent;
Mesh = CreateDefaultSubobject(TEXT(“Mesh”));
Mesh->SetupAttachment(RootComponent);

If I add the actor to my level and select any other actor and try attaching it using the Menu Actor->AttachTo, the c++ actor does not appear in the list and if I try to use the eyedropper tool and hover over my c++ actor a message is shown stating that the actor is incompatible.

Thanks

To give more context to this problem. I traced the code where UE states that my c++ actor is incompatible and found that inside the FEdModeActorPicker::MouseMove function the IsActotValid(Actor) with the c++ actor returns false. What do I need to do for my c++ actor to return true?

Thanks again,

Jeros