Get all child actors not working

I am trying to get the distance between many child actors in my scene and set the closest one to the closestSpawner variable. I check whether the class is a child of Spawner and it says true, therefore the actors should all be placed into the Spawner Array. When I loop through the array, there seem to be no actors in the array at all(I already tried a for each loop). Why would it not make the array?