2D editor tool that instantly generates modular, randomized city maps with roads, WFC tiles, buildings, paths, props, terrain detail, tunable settings, Undo, and prefab workflow support.This package is a render-pipeline-independent tool compatible with Built-in, URP, HDRP, and Custom Render Pipeline projects.Depending on your selected render pipeline, materials or shaders may need to be updated or converted after import for proper visual appearance.Dynamic 2D Map Generator is a fully modular, editor-time generation system for Unity 2D that produces realistic, randomised city layouts at the click of a button. Built on layered pipeline road graphs, Wave Function Collapse tile placement, block subdivision, building placement, footpath rendering, and in-block prop population, it delivers richly detailed urban scenes without hand-crafting a single tile. Every subsystem is independently configurable: tweak road density, zone weights, building spacing, prop density, and terrain noise parameters all from a single inspector window. Results are fully Undo-compatible and work seamlessly with Unity's Prefab workflow.Key FeaturesWFC Road Layout: Wave Function Collapse ensures every road tile is socket-compatible with its neighbours, producing organic, gap-free street networks.Zone System: Assign weighted zone types (Residential, Commercial, Industrial, etc.) to city blocks. Each zone carries its own ground base tile palette, building prefab list, and in-block prop settings.Variety-Aware Building Placement: A multi-pass sweep fills blocks with large footprint buildings first, then 1×1 gap-fillers. A smart sorting algorithm tracks per-block and global usage counts along with a spatial memory radius to prevent repetitive building clusters.In-Block Prop Generation: Leftover empty cells after building placement are filled with zone-specific props or Global props. Supports multi-cell prop footprints with configurable density and spacing.Footpath & Perimeter Props: A perimeter-walk algorithm correctly traces L-shaped, U-shaped, and irregular block outlines for footpath tile stamping and prop placement.Procedural Terrain: Perlin-noise-driven outer terrain with configurable noise scale and threshold. A road-distance field smoothly blends city edges into wilderness.Full Undo Support: Every placed object and tile operation is registered with Unity's Undo system.Note: The Demo Scene uses Built-in compatible materials to support both the built-in Render Pipeline and URP projects. The generator itself is pipeline-agnostic. Depending on your project setup, you may optionally adjust or convert materials/shaders after import.Unity Version: Unity 2021.3 LTS or higherRender Pipeline: Compatible with Built-in, URP, and HDRP. Tilemap and Sprite Renderer are pipeline-agnostic.Tile map Package: com.unity.2d.tilemap included by default in all Unity 2021+ 2D projects.Support and FeedbackWe value your feedback and are here to help!Reach out to 300 Mind via our contact page, Or Mail us.

