View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.2
- Last updated
- First released
- Unity version
- 6000.0.85 or later
- Package size
- 127.5 MB
- Files
- 300
- Views in the past week
- 32
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $14.00 on
Keywords
Dungeon Generator - Procedural 3D Dungeons
- Launch discount
One click gives a playable, furnished, photoreal 3D dungeon: 12 algorithms you can mix, 16 looks, levels up and down, NavMesh, LODs and runtime generation. Built-in, URP and HDRP.
Launch promotion for 424372 Dungeon Generator - Procedural 3D Dungeons Ends
Get 30% off on Asset Store (opens in new tab)Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 10
Dungeon Generator - Procedural 3D Dungeons screenshot 1
About this asset
Dungeon Generator builds a finished, playable 3D dungeon the moment you add the component: walls, floors, ceilings, doors, stairs, torches, props, spawn points and a baked NavMesh, all with photoreal PBR textures. No room prefabs to model, no node graphs to learn. Pick a recipe, press Generate, roll the dice for a new seed.
Every algorithm in one tool, mixable in one map- 12 layout algorithms: Rooms & Corridors, BSP Rooms, Room Grid (Isaac-style), Catacombs, Hub & Spokes, Maze, Cellular Caves, Drunkard Walk, Noise Caves, Wave Function Collapse, Hand-made Rooms (stitch your own room templates or prefab rooms, DunGen-style) and Hybrid (rooms joined by cave tunnels).- Split the area into zones, each with its own algorithm and its own look: crypt rooms next to a natural cave next to a maze.- 10 area shapes: rectangle, circle, ellipse, ring, cross, L, blob, islands, a painted mask (Paint Area tool) or a texture mask.
Levels going up and down- Up to 8 levels above and 8 below the entrance: towers, pits, or both.- Connectors: straight and spiral stairs, ramps, ladders, one-way drop holes, pit drops and working elevators.- Per-level overrides: castle halls at the entrance, caves deeper down, a different kit or size per level. Atriums open to the level above, with railings.- Each level is its own GameObject, so top-down games can show only the player's level.
Always playable- Every room is reachable. Start and boss/exit sit at the ends of the longest path.- Optional locked gates, each with its key in a room you can reach first.- Room roles (treasure, shop, secret, trap, shrine, library, prison, armory and more), corridor width 1-4 cells, cell size and wall height in meters.- One wall rule: walls always face the right way, with no gaps and no wrong rotations.
16 looks, all editable- Stone Crypt, Castle Dungeon, Sewer, Natural Cave, Ice Cave, Lava Cavern, Mine, Ancient Temple, Desert Tomb, Overgrown Ruins, Prison, Sci-Fi Lab, Crystal Cave, Wizard Library, Pirate Grotto, Marble Palace.- A kit is a ScriptableObject: duplicate a built-in kit and change materials, tint, tiling, ceilings, arches, pillars, lighting and fog. You can also swap any slot for your own prefabs, so modular art packs work.- Kit Editor window with drop zones for your prefabs.
You choose what goes inside- 37 built-in props in 108 variants: torches, braziers, candles, chandeliers, chests, barrels, crates, statues, banners, bookshelves, tables, sarcophagi, altars, cages, chains, bones, skeletons, cobwebs, crystals, mushrooms, spike traps, mine carts, levers, keys and more.- Spawn points for enemies, elites, bosses and loot, plus player start, exit, key and trap markers for your game code.- Content rules per room role with density, placement (against walls, corners, center, scatter, ceiling, doorways, corridors) and any prefab of your own. 8 content sets, 19 layout presets and 24 one-click recipes.
NavMesh built in- A NavMesh is baked after every Generate with Unity's built-in navigation API, across all levels, with links for ladders, drops and elevators. No package needed.- Area costs for corridors, shallow water and traps. Lava and pits are cut out. Doors can be opened and closed at runtime (SetDoorOpen).- Optional: uses NavMeshSurface/NavMeshLink when the AI Navigation package is installed.
Simple inspector- Four big steps with picture tiles: Layout, Look, Size & Shape, Contents. Everything else is folded away.- A live top-down map preview, a dice button for a new seed, Generate and Bake, with full undo.
Ready for games- Chunked meshes with one submesh per material, shared materials with GPU instancing, and shared prop meshes. A 64x64 dungeon draws in about 105 draw calls.- LODGroups with real lower-detail passes, mesh colliders on floors and walls, and static flags.- Bake to Prefab saves meshes, materials and the NavMesh, so a finished level has no generator cost.- Runtime generation in player builds: seeded and deterministic, with the layout on a worker thread. It comes with events and a query API (rooms, spawn points, room at a position, random floor position).- Optional 2D Tilemap output for 2D games.
Includes a demo scene with six dungeons and walking agents, documentation (PDF and Markdown) and 57 EditMode tests.
From the publisher's Asset Store listing.
Technical details
Render pipelines
- Built-in: yes (Standard)
- URP: yes (Universal Render Pipeline/Lit, tested on URP 17)
- HDRP: yes (HDRP/Lit)
Materials are built in code for the active pipeline. No pipeline-specific .mat files ship, so nothing turns pink after a pipeline switch (press Generate again).
Unity version
Unity 6000.0 LTS or newer. Tested on 6000.0.85f1 and 6000.3.27f1.
Dependencies
- None from the registry. The package uses Unity's built-in modules AI (com.unity.modules.ai, for the NavMesh) and Physics (com.unity.modules.physics, for colliders). Both are on by default in new projects.
- Optional: AI Navigation (com.unity.ai.navigation 2.x). When it is installed, a NavMeshSurface/NavMeshLink option appears. It is never required.
- Optional: the built-in Tilemap module (com.unity.modules.tilemap) for the 2D tilemap output.
Polygon counts
- 64x64 cells, Stone Crypt + Classic Loot (15 chunks, 82 props, 25 lights): 183,000 (architecture 112,000, props 70,000), 105, about 55 ms
- 40x40 cells, Natural Cave: 40,000, 58, about 120 ms
44x44 cells, 5 levels with stairs: about 830,000, n/a, about 240 ms including NavMesh
Props: 37 items, 108 variants, 640-5,300 triangles each (1,200 on average) at LOD0. LOD1 is much lower and small clutter is culled.
- Architecture LOD1 drops trims and bevels. Chunks cull at distance.
- Layout only (no meshes): 64x64 in about 1-5 ms (Wave Function Collapse about 40 ms), 128x128 in 2-50 ms.
Textures
- 90 PNG textures, all power-of-two: 44 at 1024x1024 and 46 at 512x512 (44 PBR sets).
- Map types: albedo (smoothness in alpha), normal maps (imported as normal maps) and emission for lava and crystal.
- Materials: stone walls and blocks, bricks, cobblestones, sandstone, marble, rock faces, gravel, snow, sand, metal plates, rust, wood planks, linen, velvet, plus generated steel, gold, bone, wax, water, slime, lava, ice and crystal.
- Sources: 35 sets from Poly Haven (CC0), listed in Third-Party Notices.txt. The other 9 sets were generated by the publisher.
- Package size: about 116 MB (mostly textures).
Code and workflow
- Pure C# tool. It has a runtime assembly (the generator, builder and components), an editor assembly (inspector, Kit Editor, Paint Area tool, Bake) and an optional AI Navigation assembly. A test assembly holds 57 EditMode tests.
- Namespace Addons.DungeonGenerator. Menus: GameObject/Addons/Dungeon Generator and Tools/Addons/Dungeon Generator.
- Safe with Domain Reload disabled.
- Scripting API: Generate, GenerateAsync, Clear, BakeNavMesh, Rooms, Connectors, StartPosition, ExitPosition, GetRoomAt, LevelAt, GetMarkers, GetRandomFloorPosition and SetDoorOpen. Events: OnGenerated and OnNavMeshReady.
- Kit lighting (ambient, reflections and fog in the kit's mood) is applied in play mode only, and can be switched off with Apply Scene Lighting.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.0.85f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.