I used bit flags (each cell just 1 enum flag) and recursion to generate the maze. Then used the date from the maze generator to place the floors and walls. Later I created a placer script that placed the gameplay elements in.
If you want to take a look at the source code here is the git-hub link, you can check the level generation folder in the scripts folder:
https://github.com/BlankRip/UnityJam2023
Also go back to main menu and try again, there have been some fun mazes that show up most of the time : )