T#2
You can set-up your own Unreal Environment with these instructions.
For this tutorial, we will use a simple block environment.
Blocks environment is available in repo in folder Unreal/Environments/Blocks
and is designed to be lightweight in size. That means its very basic but fast.
Here are quick steps to get Blocks environment up and running:
Windows
Make sure you have installed Unreal and built AirSim.
Make sure you have
uproject
files are associated with Unreal engineAfter installation of Unreal, Restart computer
Open
Epic Game Launcher
->Unreal Engine
->Unreal Engine 4.24.x
Associate
uproject
with Unreal engine
Open
Command Prompt for VS 2019
and navigate to folderAirSim\Unreal\Environments\Blocks
and runupdate_from_git.bat
. Or you can runupdate_from_git.bat
by double clicking the file in File ExplorerWith File Explorer, double click on generated .sln file to open in Visual Studio 2019 or newer.
Make sure
Blocks
project is the startup project. Click the right mouse button and selectStartup project
.Build configuration is set to
DebugGame_Editor
andWin64
. Hit F5 to run.Press the Play button in Unreal Editor and you will see something like in below video. Also see how to use AirSim.
Changing Code and Rebuilding
For Windows, you can just change the code in Visual Studio, press F5 and re-run. There are few batch files available in folder AirSim\Unreal\Environments\Blocks
that lets you sync code, clean etc.
FAQ
I see warnings about like "_BuitData" file is missing.
These are intermediate files and you can safely ignore it.
Last updated
Was this helpful?