Overview
Procedural Map Generator is a grid-based dungeon generation tool for Unity focused on fast iteration and deterministic results. Using a single integer seed, it generates a connected layout of rooms and corridors and can link multiple floors using stair ramps. This asset is ideal for roguelikes, dungeon crawlers, challenge seeds, or any project where you want repeatable procedural levels for debugging, multiplayer synchronization, or daily/weekly runs.
Highlights
- Deterministic generation: the same seed always produces the same layout.
- Room templates (ScriptableObjects): define room size, pivot mode, and door layout.
- Corridor prefab pooling: supports dead-ends, straights, corners, T-junctions and crossings with fallbacks.
- Multi-floor support: connects floors using stair ramp spans.
- Inspector-driven workflow: Generate (Seed), Generate (Random Seed), and Clear.
- Optional NavMesh rebuild hook (when a NavMeshSurface is assigned).
- Optional Netcode for GameObjects helper for syncing config + seed (enabled via scripting define).
What’s included
- Runtime scripts
- Demo setup
- Offline documentation (PDF) + README + changelog
Optional dependencies
- AI Navigation (for NavMeshSurface rebuild)
- Netcode for GameObjects (for the sync helper; enable with MAPGEN_USE_NGO)
Notes
- This is a grid-based generator and expects prefabs to be aligned to the configured cell spacing.
- Demo content is provided for quick testing and learning.
Inspector workflow
- Generate (Seed): Uses the current integer seed and generates the layout.
- Generate (Random Seed): Picks a random seed and generates a new layout.
- Clear: Removes the generated content from the scene.
Technical details
| Unity version | 2021.3 LTS or newer (recommended) |
|---|---|
| Platforms | All platforms supported by Unity (code-only asset) |
| Render pipeline | Built-in / URP / HDRP (no pipeline-specific shaders required) |
| Netcode (optional) | Netcode for GameObjects (enable with MAPGEN_USE_NGO) |
| NavMesh rebuild (optional) | AI Navigation (NavMeshSurface) |
| Runtime scripts included | 3 |
| Main scripts | MapGenerator.cs, RoomTemplateSO.cs, FloorManagerSeedSync.cs (optional) |
| Demo | Included |
| Documentation | Included (offline PDF + README + changelog) |
| Setup time | ~5–10 minutes (with provided demo and docs) |
Support
Copy the email or open Gmail:
albertoja.games@gmail.com