I created a UStruct that housed a
TArray<SomeComponent*> myCompArray;
Then I made that Ustruct a UPROPERTY(). Instead of using CreateDefaultSubobject to add the object in the constructor, I used
myCompArray.Add(NewObject<SomeComponent>(this));
to add the object outside the constructor. “this” being the UObject it’s attaching to.