Destroy array of actors spawned by function

I make 2d level generator and I want them to automatically be destroyed when character pass them.
Here is how generated levels look like:

Levels consists of 2 walls, floor tiles and hole to move to next level.

In holeBP there is collision box. I want to make level disappear on colission.

The problem is i probably not properly set actors generated by spawning function.

Rest of the function get random ammout of tiles, random position of hole, decide where walls need to be placed. This way of making spawned actors a variable is correct?

And destroy function which not working:

Component begin overlap is collision box from holeBP. Fuction “spawning actors” is in gamemode. Nothing happens when going throught collision box.
Till now i’ve only destroyed actors by “time delay” so it can something very basic.