Restart a spawned level

So I have followed the tutorial from Epic Games where they make an endless runner, and the level is spawn this way:

In a nutshell, in a loop it runs a function that spawns 9 tiles of my level in the front of the position of each of its previous tile.

Now, the hard part comes: Restarting it.

I know RestartLevel exists, but I need to know how to do it manually and in the same map.

I am running a function that gets all actors from class and destroys them, then I clear the array with the tiles.

Finally, I make it run the loop that generates the level again, but nothing happens. Am I doing something wrong?