If you are using Blocks project that comes with AirSim then you don't need to do anything other than installling Unreal 4.16.
If you have your own Unreal project created in version Unreal 4.15 then you need to upgrade your project to use Unreal 4.16.
If your project doesn't have any code or assets other than environment you downloaded then you can also simply recreate the project in Unreal 4.16 Editor and then copy Plugins folder from AirSim/Unreal/Plugins
.
Unreal 4.16 Build system has breaking changes. So you need to modify your *.Build.cs and *.Target.cs which you can find in Source
folder of your Unreal project. So what are those changes? Below is the gist of it but you should really refer to Unreal's official 4.16 transition post.
-
Change the contructor from,
public MyProjectTarget(TargetInfo Target)
topublic MyProjectTarget(TargetInfo Target) : base(Target)
-
Remove
SetupBinaries
method if you have one and instead add following line in contructor above:ExtraModuleNames.AddRange(new string[] { "MyProject" });
Change the constructor from public MyProject(TargetInfo Target)
to public MyProject(ReadOnlyTargetRules Target) : base(Target)
.
Remove line for EngineAssociation
- Make sure Unreal 4.16 is installed.
- Double click on your project's
*.uproject
file. - If you are asked to select Unreal version, select 4.16.
- The warning box might show only "Open Copy" button. Don't click that. Instead click on More Options which will reveal more buttons. Choose Convert-In-Place option. Causion: Always keep backup of your project first!
- If you don't have anything nasty, in place conversion should go through and you are now on new version of Unreal!