Can't see USceneComponent array in editor

Hello, I have a ship object that I want to add scene components to in the blueprint editor and add them to an array but I can’t see the array in the editor. this is what i currently have in the .h file

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = “SpawnPoints”)
TArray<TObjectPtr> MyComponentArray;

I have also tried

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = “SpawnPoints”)

TArray<USceneComponent*> MyComponentArray;

Neither of these show an array in the editor. is this not something I can add through the editor?

This will be in the Details panel:

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = “SpawnPoints”)
TArray<TObjectPtr<USceneComponent>> MyComponentArray;

If you want it in Components panel you need to add it to the Constructor: ( I’m not sure if it’s possible to use TArray, you need to add them individually ) :

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = “SpawnPoints”)
TObjectPtr<USceneComponent> MyComponent;

MyComponent = CreateDefaultSubobject<USceneComponent>(TEXT("MyComponent"));
MyComponent ->SetupAttachment(RootComponent);