TArray of TSubObjectPtr crasshes the Editor

Hi. I’ve created a class with TArray of TSubObjectPtrs. I’ve built the project successfuly but debug is not working, Editor crashes just before it opens.

/* Dynamic array of InstancedStaticMeshComponents */
UPROPERTY(VisibleAnywhere, Category = StaticMeshInstances)
TArray <TSubobjectPtr<UInstancedStaticMeshComponent>> StaticMeshComponentInstances;

The Error:
Cast of ArrayProperty to UObjectProperty failed.

I’m sorry I’ve found the answer (thanks to Rama). Is there any changes to use UPROPERTY() with TArray ?