Every time i try to start my game it crash

Again - you Re not setting your variable nextSpawnPoint. This is why the tiles Spawn at the Same Location, then collide, Spawn a new one, and you have your loop