Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
3D
Environments
Roadways
1/14
Generate scene infrastructure including road and walkway meshes for any location on earth using OpenStreetMap data, then simulate traffic and pedestrians. Bridges, tunnels, traffic lights included.
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
2020.3.10f1
Compatible
Compatible
Compatible
Description

This package contains a procedural mesh generator to build fully functional roads and walkways, including bridges, tunnels, roundabouts, traffic lights, etc. It is suitable for simulation games where you want to quickly produce multiple levels based closely on real places. The package allows you to specify a location box anywhere on earth, then builds a detailed 3D model of all roads and walkways within that location box.


This package also contains a traffic and pedestrian simulator. Traffic includes cars, buses and trucks that move using industry-tested, peer-reviewed car-following and lane-changing models. The package includes a code library that you can use to control the simulation, down to the level of individual vehicles and pedestrians. See API at https://vroad.uk/api


In addition, as an option, to decorate the terrain, you can download terrain and aerial image data from Mapbox.com, if you register and create an account with them. This does not require any payment to Mapbox unless you exceed the generous free tier. If you do not register a Mapbox account, the only difference you will see is that the underlying terrain will be flat, and will be rendered with a plain texture of your choice.


The scene generator runs on Windows/Mac/Linux, while the simulation runs on Windows/Mac/Linux and Mobile platforms.

Technical details

Features of Scene Generator

  • Import data from OpenStreetMap (OSM) from anywhere on earth
  • OSM Import includes roads, walkways, building and water outlines
  • Digital elevation imported from Mapbox to build a terrain surface with holes for tunnels
  • Roads fitted to terrain, terrain modified where road gradients would be excessive
  • All intersections created automatically, including roundabouts, at-grade (single-level) and grade-separated (multi-level)
  • Sidewalks, footpaths and pedestrian crossings created

Features of Simulator

  • Multi-threaded implementation, makes full use of multiple cores
  • Uses peer-reviewed car-following and lane-changing models
  • Realistic traffic signal logic automatically created for all junctions marked as signalized in OSM
  • Pedestrians simulated walking between points of interest
  • Support for two-part articulated vehicles in addition to single-part fixed vehicles
  • A few simple prefabs for vehicle models and a single basic animated ped are included - this tool is designed with the intention that you drop in your own models for cars, trucks, buses, and people in the simulation, to suit the style of your application

Lite Features

  • Create maps of 100 Ha in area. This is 1 km x 1 km square, or 1.33 km x 0.75 km at 16:9 aspect, or about 50 typical city blocks

System Requirements

  • Scene generator runs in Unity Editor on Windows/Mac/Linux
  • An internet connection is required to download OSM and terrain data. No connection is required once data is downloaded and scene built.
  • Simulation runs locally on Windows/Mac/Linux/Android/iOS

Optional Terrain and Aerial Images from Mapbox

  • For maximum clarity: a MapBox account is not required to run this package. You can choose to enable this feature if you want to create a terrain based on satellite elevation data, textured with an aerial image.
  • If you decide to use this option to decorate the terrain, you will probably not incur any charges. At the date of this release, there is a generous free tier, a charge would be incurred only if you exceed this free tier. The relevant pricing plans are shown here: https://www.mapbox.com/pricing#maps - see the section on Raster Tile API
  • If you do not register a Mapbox account, the only difference you will see is that the underlying terrain will be flat, and will be rendered with a plain texture of your choice.

Package Dependencies

  • [Unity Registry] Unity UI
  • [Unity Registry] (New) Input System
  • [Asset Store] Unity Starter Assets - Third Person Character Controller (this is a free asset, but you must "buy" it in store)

Global Roads & Traffic [Lite]

(16)
644 users have favourite this asset
(644)
FREE
License type
File size
91.8 MB
Latest version
2.5.4
Latest release date
Dec 20, 2023
Original Unity version
2020.3.10
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
FREE