I have a Smart Object that is completely working in a class I can drop the actor in the scene and it works fine.
Now I have a secondary class that needs to make a array of these objects in the scene. Ive tried the following with them all failing in a engine crash:
TArray<ABuildingModTile*> Column;
FActorSpawnParameters SpawnInfo;
ABuildingModTile* someItem = GetWorld()->SpawnActor<ABuildingModTile>(GetClass(), SpawnInfo);
Column.Add(someItem);
Column.Add(ObjectInitializer.CreateDefaultSubobject < ABuildingModTile >(this, TEXT("BuildingModTile")));
I’m not understanding something,