# Community Tutorial: Recursive Dungeons in PCG

**URL:** <https://forums.unrealengine.com/t/community-tutorial-recursive-dungeons-in-pcg/2875027>\
**Category:** Tutorial & Course Discussions\
**Tags:** unreal-engine\
**Created:** [November 30, 2026, 10:32am UTC](https://forums.unrealengine.com/t/community-tutorial-recursive-dungeons-in-pcg/2875027 "2026-11-30T10:32:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Epic\_AutoTranslator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/epic_autotranslator/32/1198372_2.png) [@Epic\_AutoTranslator](https://forums.unrealengine.com/u/Epic_AutoTranslator)\
**Post date:** [November 30, 2026, 10:32am UTC](https://forums.unrealengine.com/t/community-tutorial-recursive-dungeons-in-pcg/2875027/1 "2026-11-30T10:32:46Z")

</div>

Build a dungeon in UE 5.8 that grows layer by layer from a single room, without ever leaving PCG. A recursive subgraph that calls itself and stops at the exact number of layers using Get Subgraph Depth. Self Pruning, so no two rooms end up in the same cell. A custom PCG node in Blueprint using Point Processor Simple, the class introduced in 5.7, which calculates which doors each room has. And three Data Tables that pick the type, rotation, and mesh for each room. Includes the starter project, with a kit of 24 rooms, and the finished project.  
  
[https://dev.epicgames.com/community/learning/tutorials/qzD4K/unreal-engine-recursive-dungeons-in-pcg](https://dev.epicgames.com/community/learning/tutorials/qzD4K/unreal-engine-recursive-dungeons-in-pcg)
