Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
2D
Textures & Materials
Tiles
1/6
This Dungeon Generator is a mechanism that uses rooms which are prepared as prefab template and connect each other with procedurally generated corridors to create complete a randomized dungeon map.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.3.9f1
Compatible
Compatible
Compatible
Description

· Although it is primarily useful for dungeon type games because of its randomness, it can also be used for many kind of games as well.

· Generator can be run both for edit and play modes.

· Generator will run at one click and you can clear it instantly in the edit mode.

Technical details

· Unlike the most dungeon generators using Unity's editor tool consisting of room layout, this generator generates rooms at one-click if you don't want to spend too much time with preparing room layouts before launching your app.


· Generation mechanism starts with creating an entrance room. Afterwards, procedural corridors (you can set corridor length between two rooms at inspector in Unity) merges with entrance room then seconds room follows it and so it will continue until the last room is created. So the initial version of dungeon is created with each room having one exit and one entrance corridor. In order to make the dungeon more interesting, some room type (in default hub type rooms have this ability and you can modify it as you wish) have ability to create additional corridor if neighboring some rooms except for initial entrance and exit corridors. This way, the rooms will have variety of different path options to explore the dungeon.


· This generator is as fast as complete procedural generators and nearly as flexible as the generators which has editor room layout sketch tools. While generator allows user to prepare rooms with user's decoration taste as much as possible, it also creates corridors procedurally in order not to waste time with considering corridors as rooms using in Unity editor layout tools.


· Algorithm is prepared meticulously such as avoiding from room overlaps, room’s neighbor detection, jump from dead-end points.


· Two options are available for setting the randomness level of the generator.


· Based on your room templates and game design, you can tweak with the generator’s settings shown in the fields on the Unity Inspector.


· When you creaete your own prefab rooms and place them into the generator, be very cautious that prefab's room pivot point should be (0,0) Unity world position.


· Sometimes while editing room prefab tiles in palette, rect size can change abnormally. In this situation, please press "Compress Bounds" button existing in the related tilemap's component. If still problem goes on, there can be invisible tile around so please use erase option for each related tilemap pallette all around the room.

Dungeon Generator With Prefab Rooms

(not enough ratings)
11 users have favourite this asset
(11)
$4.99
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
3.5 MB
Latest version
1.0
Latest release date
Feb 14, 2024
Original Unity version
2022.3.9
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR