this version is actually simple , you put two loops with x and z on one loop to make a grid, and you instantiate your prefab ( i cheat by putting some blocks at higher probabilities spawning so you always have a path( there is none algorithm on this procedural lol ).