Unreal Engine: How can I create UStaticMeshComponent in a loop?

I am trying to create multiple UStaticMeshComponent by using for loop but Unreal Engine keeps triggering breakpoint on CreateDefaultSubobject in Object.h(Not in my code, it’s from UE4 core API). When I’m creating a single component it’s working fine www.myloweslife.com I am pretty new to UnrealEngine and C++ so I might be doing something dumb but please be easy on that:)

Thank you so much for your help.

Header

#pragma once

#include “CoreMinimal.h”
#include “GameFramework/Actor.h”
#include “FlowSphere.generated.h”

UCLASS()
class CPP_PRACTICE_3_API AFlowSphere : public AActor
{
GENERATED_BODY()

public:
// Sets default values for this actor’s properties
AFlowSphere();

protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;

public:
// Called every frame
virtual void Tick(float DeltaTime) override;

private:
//UPROPERTY()
//TArray<UStaticMeshComponent*> StaticMeshComponents;

UStaticMeshComponent* test;

};

To achieve this, the retailer needs to find out about your audits and assessments in the online Vitamin World Customer Experience Survey.
https://sites.google.com/view/capriottiscustomersatisfaction/vitamin-world-customer-experience-survey?authuser=4&fbclid=IwAR1Jm6GpD90eJyXXg2Nr7weGgpC2_JucQVNFDnm1GjKfqDyMHUKC0mreTn8

Welcome to the Fatz Guest Satisfaction Survey! Please enter the information indicated from your receipt to begin.
https://topsurvey.onl/fatz-cafe-survey/

আমরা এমন একটি এপ চাই যা ধারা আপনারও লাভবান হবেন। এবং
আমরাও প্লে স্টোর থেকে সহজে ইনিসটল করতে পারবো।গেম তৈরি করে আমরাও লাভবান
হব।