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🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 7,317 views · 67 clicksSaaS · Week 46 · 7,317 views · 67 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 46,586 views · 232 clicksWebsite · Week 46 · 46,586 views · 232 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 44,527 views · 127 clicksSaaS · Week 46 · 44,527 views · 127 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 63,415 views · 206 clicksSaaS · Week 46 · 63,415 views · 206 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 32,659 views · 127 clicksDesktop App · Week 46 · 32,659 views · 127 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 8,288 views · 19 clicksWebsite · Week 46 · 8,288 views · 19 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
6,915 views · 29 clicksWeek 46 · 6,915 views · 29 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
6,399 views · 18 clicksWeek 46 · 6,399 views · 18 clicks