I created a simple Actor, there is no thing here, can’t move in scene, that’s ok.
and I create a local variable in Actor’s contructor, compile it again, this component show in ‘Detail’ panel.
ABatteryManActor::ABatteryManActor()
{
PrimaryActorTick.bCanEverTick = true;
USceneComponent* sceneComponent = CreateDefaultSubobject<USceneComponent>(TEXT("MySceneComponent"));
}