I have been trying to make a tile based procedural generation system for a while now, but have been struggling with how to make it. I started by creating this diagram:
My idea is to create individual square tiles that each can can contain their own navmeshes, lighting, and other things. They each have anywhere from 1-4 entrance/exits, which are placed next to each other. I first started by following the UE4 created tutorial, but I faced problems with dead ends and was unsure how to implement a pathfinding algorithm or such. My most recent attempt consisted of blueprint tiles with arrows, which I spawned in with a manager. However, I struggled with looping through for each of the tiles and restricting the amount of rooms. I am completely lost on how to do this, so any help is appreciated. Thank you!