Dungeon Generator - Unity WFC Procedural Levels

Description
Generate complete, connected dungeons from a seed, then art-direct the result without leaving the scene. Dungeon Generator combines a deterministic wave-function-collapse core with modular 3D construction, live terrain painting, stacked floors, runtime navigation, gameplay hooks, sharing, and editor tooling.
Build a dungeon in the Inspector, drive it from C#, or use the engine-independent model as pure data for a custom renderer. The included interactive demo exposes the generation, painting, themes, lighting, models, NavMesh, agents, gameplay, sharing, and export workflows in one place.
The package also includes a ready-to-use stone art kit, six live-swap themes, furnished room purposes, player and zombie examples, procedural audio, and complete source code, so it supports both rapid prototypes and deeper production customization.
|
WHY DUNGEON GENERATOR
• CONNECTED BY DESIGN - a post-solve connectivity pass adds legal doorways until every walkable region is reachable.
• DETERMINISTIC AND EDITABLE - seeds reproduce layouts while paint, erase, perturb, stamp, restyle, and undo tools let you direct the result.
• VERTICAL LEVELS - combine stacked floors, spiral stairwells, terraces, basement levels, bridges, and optional ceilings.
• PLAYABLE SYSTEMS INCLUDED - bake runtime navigation, spawn a click-to-move explorer and zombie population, and connect chests, traps, keys, and gates to your game logic.
• SOURCE INCLUDED - inspect, extend, reskin, or integrate the complete C# runtime and editor implementation.
⭐ KEY FEATURES
• Weighted WFC generation with propagation, backtracking, carving, decoration, and deterministic seeds.
• Rectangle, ellipse, diamond, and cross footprints with grid sizes from compact rooms to large layouts.
• Live Cave, Grave, Void, and Canal painting with local re-solving, exact tile stamps, wall editing, and undo.
• Stone, Crypt, Moss, Blocks, Rough, and Sewer themes that swap the generated dungeon in place.
• One to three solved floors connected by spiral stairs, with optional terraces and basement levels.
• Runtime navigation, route display, click-to-move player, and adjustable zombie population.
• Key-lock progression, furnished room purposes, treasure, chests, traps, gates, and event callbacks.
• Deterministic spawn rules for project prefabs based on depth, terrain family, chance, cap, and wall alignment.
• Shareable dungeon codes that preserve settings, solved tiles, and hand edits.
• Dungeon Designer window, minimap, overlays, validator, PNG export, and 2D rasterization workflow.
• Bundled modular art, themes, prop variations, procedural audio, demo scene, and WebGL-ready demo source.
• Model swapping for supported structural, prop, player, and zombie slots, including OBJ import paths.
HOW IT WORKS
• Create a generator from GameObject > Dungeon Kit > Dungeon Generator.
• Choose a seed, grid size, footprint, carving, floor, progression, decoration, and weight settings.
• Press Generate to solve the logical plan and build the modular dungeon under the component.
• Paint terrain, stamp exact pieces, select individual walls, swap a theme or model, and undo as needed.
• Bake navigation, spawn agents, attach project content through spawn rules, or query the plan from code.
• Save a dungeon code or export a 2D representation when the layout is ready.
WHAT'S INCLUDED
• Full runtime and editor C# source.
• WFC solver, plan data, generation settings, query API, and serialization.
• Modular stone meshes, textures, materials, prefabs, props, and six themes.
• Generator Inspector, Dungeon Designer, setup tools, minimap, overlays, and validation tools.
• Interactive demo scene with generation, painting, floor, theme, lighting, model, NavMesh, agent, and export controls.
• EditMode and PlayMode test assemblies covering the core and Unity-facing workflows.
• One self-contained HTML manual with setup, API examples, customization, troubleshooting, and support.
CAPABILITY BOUNDARIES
• The bundled visual kit is designed for the Universal Render Pipeline; use your own library assets when targeting another rendering setup.
• The runtime OBJ importer covers the supported demo swap slots; production import pipelines with custom materials, rigs, or formats remain project-specific.
• The included NPCs demonstrate navigation and wandering behavior rather than a complete combat or RPG AI framework.
• Online hosting is not included; the package supplies the demo source and a prepared WebGL build for deployment.
**THIRD-PARTY CONTENT**
None. The bundled stone art kit is not sourced art - its textures, meshes, materials and prefabs are baked by editor tools that ship inside the package (Tools > Dungeon Kit > Build Demo Assets), and the sound effects are synthesised by the included audio factory. No third-party fonts, images, audio, icons, shaders, DLLs, native binaries or third-party source code are included; see Third-Party Notices.txt file in package for details.
AI-ASSISTED CONTENT DISCLOSURE
Portions of the included C# source code were created with AI-assisted code-generation tools, primarily Claude Code and, to a smaller extent, GPT-based models via Codex. All AI-generated code was manually reviewed, modified, and integrated to ensure correctness, performance, maintainability, and compatibility with the overall project. These services are not required at runtime.
Features
- Weighted WFC solver with propagation, backtracking, deterministic seeds and a connectivity pass so every walkable region is reachable.
- Live painting: Cave, Grave, Void and Canal terrain with local re-solving, exact tile stamps, wall editing and undo.
- 6 live-swap themes: Stone, Crypt, Moss, Blocks, Rough and Sewer.
- 1 to 3 stacked floors with spiral stairs, terraces and basements.
- Runtime NavMesh, a click-to-move explorer and an adjustable zombie population.
- Gameplay hooks: key-lock progression, chests, traps, gates, events and deterministic spawn rules.
- Shareable dungeon codes, Dungeon Designer window, minimap, validator, PNG and 2D raster export.
- Complete stone art kit, procedural audio, demo scene and full C# source with tests.
Requirements
- Unity 6.0 or newer — built with Unity 6000.0.62f1.
- Universal Render Pipeline (URP), AI Navigation package.
Instructions
Complete documentation is included in the package itself, and the same guide is available online:
| Author | martinszekeres |
|---|---|
| Category | App Templates / Unity / Assets |
| Price | $60 |
| Extended License | $180 |
| First Release | Oct 11, 2026 |
| Last Update | Oct 11, 2026 |
| Files included | .html, .cs, .prefab |
| Operating systems | Unity 6.0 |
| Programming language | C# |
| App framework / engine | Unity |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks