UNITY 6 · URP / HDRP / BUILT-IN

Build a city.
Type a number.

DK Procedural City generates a complete, drivable, walkable Unity city from a single seed — roads, blocks, zoning, buildings, traffic, and a day/night cycle. Same seed, same city, every time.

Unity 6 editor & runtime toolkit See it generate →
Game View — Seed 314 · Preset "Compact" · 110 × 110
Procedurally generated city, daytime — downtown towers, suburban blocks, roundabout and street trees
Roads → blocks → plots → zoning → buildings1 seed → 1 deterministic city
What's inside

A generation core, plus everything a city needs to feel alive.

The generator is pipeline-independent and fully deterministic. Rendering, traffic and weather sit on top as a separate layer you can swap or extend.

GENERATION

Deterministic by design

Roads, terrain, blocks, plots, zoning and buildings all derive from one seed. Re-running a seed reproduces the exact same city — safe to test against, safe to ship.

TRAFFIC

Roundabouts that actually curve

Vehicles follow a lane graph through junctions and roundabouts with real arcs, not straight cuts across the island. Signals gate right-of-way at every junction.

PEDESTRIANS

Sidewalks, not shortcuts

A NavMesh carve keeps pedestrians off the carriageway; they wait at the kerb and cross only when their signal phase is red for traffic.

ATMOSPHERE

Day, night, and weather

A live day/night cycle lights building windows and street lamps. Rain leaves reflective, rippling puddles; snow settles on roofs and lawns.

PERFORMANCE

Built to hold at scale

Mesh combining, shared materials, GPU instancing and distance culling keep large cities inside draw-call budgets — measured with a one-click stress test.

CATALOG

Your models, no code

Drag your own building, vehicle and prop prefabs into the catalog inspector. Nothing about the generator is hard-wired to the demo assets.

URPHDRPBuilt-in Unity 6000.0+Runtime APIEditMode tests
Measured, not promised

Stress-tested on a 500×500 city, 690 buildings.

Numbers below are from the in-editor stats overlay and stress-test menu, captured on real hardware — not a spec sheet estimate.

Batches — before combine3,893
Batches — after combine1,826
Draw calls (typical run)1,441
Triangles2,064,640
Materials119
Renderers folded into batches1,863 → 68
Frame rate (real GPU)93–124 fps

Mesh combining + shared materials cut draw calls roughly in half at stress-test scale. Distance culling hides far buildings and vehicles in Play mode with hysteresis, so nothing pops at the cull boundary. Shadow-distance clamping is the single biggest win on lower-end GPUs.

Run it yourself: DK ▸ Performance ▸ Generate Stress City.