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
uprojectfiles are associated with Unreal engineAfter installation of Unreal, Restart computer
Open
Epic Game Launcher->Unreal Engine->Unreal Engine 4.24.x
Associate
uprojectwith Unreal engine
Open
Command Prompt for VS 2019and navigate to folderAirSim\Unreal\Environments\Blocksand runupdate_from_git.bat. Or you can runupdate_from_git.batby 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
Blocksproject is the startup project. Click the right mouse button and selectStartup project.
Build configuration is set to
DebugGame_EditorandWin64. 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?
