Search Unity

We’ve partnered with Microsoft to bring the autonomous vehicle simulator AirSim to Unity. This collaboration helps democratize the development capabilities for autonomous vehicles and drones by taking advantage of Unity’s performant engine, easy to use C# development environment, and quality content from the Unity Asset Store.

AirSim on Unity

Created by the team at Microsoft AI & Research, AirSim is an open-source simulator for autonomous systems. It’s a platform comprised of realistic environments and vehicle dynamics that allow for experimentation with AI, deep learning, reinforcement learning, and computer vision. With AirSim on Unity, you have the opportunity to create and innovate on an entirely new ecosystem and platform.

“Our goal with AirSim on Unity is to help manufacturers and researchers advance autonomous vehicle AI and deep learning. Unity gives its OEM clients the ability to develop realistic virtual environments in a cost-efficient manner and new ways to experiment in the world of autonomous and deep learning.”

– Ashish Kapoor, Principal Researcher at Microsoft Research & AI

Powerful and performant

Thanks to the relentless focus on performance at Unity, AirSim on Unity offers smooth overall performance running at high frames per second. Paired with Visual Studio, you get the ultimate development environment that’s truly integrated and easy to use.

Cross-platform support

We embrace seamless cross-platform support as a core principle, which is why AirSim on Unity runs on both Windows and Linux. No matter which platform you choose, you have access to the same feature-set to run highly performant autonomous simulations.

Experiment with ML-Agents

Unity’s own machine learning initiative ML-Agents can be integrated into AirSim’s capabilities, allowing for even more experimentation. The open source ML-Agents are available through GitHub and have been positively received with well over 4,000 stars. With the release of AirSim on Unity, the two communities now have a common ground to experiment, develop, and evolve together.

“Using the new AirSim tools, we have trained and evaluated our ML agents for unmanned aerial vehicles inside Unity in mere hours vs. training them in the real world over several days and weeks.”

– Anurag Rana, CEO at Threye

Build environments fast

The Unity Asset Store provides an expansive library of high-quality content that you can use to quickly and easily build complex virtual environments for your simulation.

To get you started, we offer the Windridge City environment as a free download from the Unity Asset Store. This beautiful environment supports both automotive and drone experimentation across urban, suburban, and rural locations. Windridge City is open source just like AirSim, so modify and use it freely.

A big thank you goes out to NatureManufacture and Indago for their efforts in bringing Windridge City to life. They used their own resources and leveraged tools from the Unity Asset Store including “EasyRoads3D” by Unity Terrain Tools and “Gaia” by Procedural Worlds. Another thank you goes out to Rythmos who helped create the AirSim wrapper code. These partners share our passion for advancing autonomous simulation research and embody the quality and diversity of companies in our ecosystem.

Get started with AirSim on Unity

By keeping the AirSim API unchanged, providing sample demo projects, and offering Windridge City as a free download, you can quickly get started with AirSim. Here is a list of helpful resources:

The GitHub repository contains a new Unity folder with the AirSim wrapper code, car and drone demo projects, and documentation. The car and drone projects work with existing sample scripts available in the GitHub repository, including and

The Windridge City environment is available from the Unity Asset Store and requires Post Processing Stack v2 which you can install via the Unity Package Manager using these instructions.

Note that the Windows and Linux releases are labeled as “beta”. While AirSim supports the core APIs, we are excited to have the Unity community experiment and help us bring out its full potential.

Feel free to share feedback directly in the GitHub repository. Happy experimenting!

21 replies on “AirSim on Unity: Experiment with autonomous vehicle simulation”

Hello Everyone,
For my project we need a simulation software, basically the task is a simple pick-and-place (with a robot manipulator), but in outdoor environments.
The sensors we are gonna use are: Camera, IMU, Torque, Pressure, Force and one different kind of orientation (1D) sensor.

I tried VREP, it is easy to use and also it supports all the sensors, but the environment rendering is really bad (even the resolution is not good, when streaming from the visual sensor).

I checked some tutorials of AirSIM and the environment modelling is very realistic with shadows and weather effetcs (which suits perfectly for the project) , however as far I know AirSIM only supports Camera, GPS, IMU and Barometer, also it has no Robot manipulator models (I do know that it’s main focus is on UAV’s).

So I just wanted to know whether it is at all possible to import urdf model from ROS (as AirSIM have ROS support), also can one model and incorporate these other sensors.

Any suggestions and advice is much appreciated.

Thank You.

Hello, Do you have a scene for your windridge city that i can use in unity? I’ve gone through all folders and can’t see a scene file. How do i replicate your picture? Thanks

Hi, This is great!. A few questions:
1. Will this run in Unity with the same performance as it runs in Unreal? Or does does the wrapper add some overhead that will slow things down?
2. Will this support multi-agent simulations for reinforcement training of several autonomous drones at once? For example running batches of 10 or 20 at a time.
3. I was testing this out and the colliders don’t always prevent the drone from going through the ground. Is this a bug or is there something I’m not setting up right with colliers and collision detection. How do collisions register to Airsim lib? Do you have any optimization tips?
4. Will this support SITL? If so, can you explain how to set that up?
5. What is the best place for researchers to post questions like this? (Things related specifically to AirSim on Unity.)

Hello All,

As a part of my little project, Im trying to build this simulator on Unity to make it work with MiddleVR. I was having issues earlier since I was dealing with Unreal Engine, but since thats out of the way, I am facing some issues in running the ‘ Cardemo’ .
To Start with, its mentioned in the GitHub to get Unity 2018.2.15. I was able to build,cmd but when I ran the game it said the game was built on 2018.2.14. So I got the .14 version and ran the car demo but I didnt see any sort of map to play in, just an instance of a floor with the camera settings for the prefabs. Also, when I pressed play, Unity Immediately crashed(Tried it a few times). Anyone facing the same Issue?? I was also thinking of importing traffic simualted data that I created on SUMO Simulator using the TraCi protocol. Is it pssible on Airsim ?
Regardless, v4z

LOL I recall a forum conversation where I proposed using Unity, Navmesh and Google Maps to get a car to drive you where you wanted!

Why does this talk about ECS and the Job system when neither are production ready or compatible with any of the assets you talk about? The screenshot you include is also clearly not using ECS. Have you been told to throw those terms in to every blog post you do?

Comments are closed.