In UE5 I was able to fix my trees spawning in straight line by increasing Procedural Foliage Spawner tile size to 30000. You might want to experiment with tile size and tile overlap.