Spawn Static Meshes declared in Editor

Hello,

I want to ask if there is a way to Spawn Static Meshes which I declare in the Editor in my Game. My Problem is that I want to have an array in my Editor where I can add the 61 Static Meshes and if the Player walks into a Trigger all of the Static Meshes should be spawned. I figuered out that I can’t write TArray for that because I can’t add a static Mesh into the StaticMeshComponent Array. I have to use TArray. But GetWorld()->SpawnActor(…) doesn’t work with those Static Meshes.

-Josai