Hey, I am compiling my own engine solution because I have made some changes to the engine’s code, but when trying to open my .uproject file, it asks for me to build the modules because they are built for another version. If I press build now, it does something but then it says “Engine modules are out of date, and cannot be compiled while the engine is running. Please build through your IDE”.
I just built the Engine project through visual studio in Development Editor mode so I can’t think of a reason why the modules would be out of date or just why it would not work.
First, in your source folder in your project, check that {nameofproject}.Target.cs and {nameofproject}Editor.Target.cs has “DefaultBuildSettings = BuildSettingsVersion.V2;” in the section base(Target) { … } If it does not work, check the file Engine/Source/Developer/DesktopPlatform/Private/DesktopPlatformBase.cpp in your Unreal Engine source code, look for the line Arguments += " -Progress -NoEngineChanges -NoHotReloadFromIDE"; et remove the two last options : Arguments += " -Progress";
Re-compile Unreal Engine - Launch your project and accept the rebuild.
I solved it. Future users that might arrive at this point, make sure the engine and the project are running the same version for the same platform. Because I was compiling the engine for 64 bits and the project for 32 (I don’t know why or how)
I did the things you mentioned and then did the commands:
"
cd UnrealEngine
./Setup.sh
./GenerateProjectFiles.sh
make
cd AirSim
./setup.sh
./build.sh
"
again and it worked (I run whatever I could with sudo also)