"The following modules are missing or built with a different engine version" with a new project

Under Excluded Files and Locations I’ve added;
H:\GameName
H:\Unreal

Under Exluded Processes I’ve added;
H:\Unreal\Epic Games\4.10\Engine\Binaries\Win64\UE4Editor.exe
and
H:\Unreal\Epic Games\4.8\Engine\Binaries\Win64\UE4Editor.exe

I really appreciate the continued help Sean.

As another test, try turning your antivirus software off and then running the engine. That way you know if for some reason it isn’t properly excluding the files, or if there is another issue here.

If it runs successfully, then we will know that there may be other files you need to exclude. If it does not run successfully, we can continue to investigate this issue and get you all set up.

Yeah, that was the first thing I tried.

fwiw - I created a new project this morning and that ran fine - I started to migrate over content, maps and some other assets, and now I get the same error. Looks like it is something in those content files that is causing this.

If I create a new one, everything runs fine.

I think I found it though - After creating a new project and adding the Vehicle C++ caused this.

Add New > C++ Feature > Vehicle > Add to Project
I get an error and when I try to relaunch, the editor spits out the original error.

So I think I have it all sorted now.

So is there any way for me to go back to my original project and remove the vehicle stuffs?

Thanks for you help.

I was under the impression that you could not open any project. You are only getting this error in one specific project?

Try going into your project folder->Source->ProjectName->TP_Vehicle and deleting all of the c++ files in there.

After you’ve done this, go back into the main project folder and right-click the .uproject file and select Generate Visual Studio Project Files.

When I did this, it removed the code classes that were added from the template.

No luck. It’s ok. I’m just about back to where I was anyway. Thanks.

Hello! In case anyone else runs into this issue - and for whom the Antivirus exceptions noted in the accepted answer didn’t work, I found a fix by deleting the contents of the project’s “Intermediate” directory, which allowed the project to compiled successfully; message went away and all was back to normal. Hope that helps! This was in 4.10.

1 Like

I’ve had the same issue. I created a new project and copied all files from the earlier project to the new one except the files “saved” and “[project name].uproject”. Then I started “[new project name].uproject” and it worked. Thank God! I’m so relieved.

I had the same problem and your solution worked perfectly for me. Thank you! I was really unsure of how I was going to get my file working again. Phew!

No sovled the issue till 4.12

I ran into the same issue, and in the end what worked for me was right clicking on the uproject file, selecting “generate visual studio project files.” From there I opened the newly created ProjectName.sln file with visual studio, and selected build. I let the project rebuild and then reopened, and voila, all was good again. Hope this helps someone else in my predicament.

This worked for me! Thank you so much!

You might wanna disable any plugins that your project currently have by editing your .uproject file with a notepad

I solved this by going into my project folder, then into intermediate folder, then deleting the Source folder inside there.

After that, I right clicked on the .uproject file, and selected the “Generate Visual studio files” option. It successfully built the files, then I double clicked the .uproject file, and then it says "“The following modules are missing or built with a different engine version…”, select Yes, and it will build files for a minute.

After that the project opens and works great.

This can happen also due to permissions. Since it’s strying to modify files under C:/…/engine files. So this is not the answer in my case.

Unless your system doesn’t grant you permissions to change the timestamp file (and probably more of them) under C:

For v. 4.15.3 here: What happens here is that I have no permissions. It’s asking permissions for Epic Games / engine files (in particular the timestamp for now). Since I cannot change files on C and right clicking on that .uproject file is not an action that I can modify to give Administrator rights, I can’t regenerate my project files again. I tried using the Admin account in my system (windows 7) and it didn’t work either.
I found it’s trying to run BuildTool.exe and it fails having permissions. So I granted permisions to this .exe, and now when I try to regenerate the project files it tells me It couldn’t create the process BuildTool.exe.

I also had this problem but it was due to the fact I used a previous project to build off of. I needed to right click my .uproject file and edit the name like so:

https://i.imgur.com/9KW3XJE.png

Hi, in my case the issue was that my compilation was not creating the file UE4Editor-projectname.dll anymore.

This is because I was missing this line in \Source\MyProjectEditor.Target.cs:

ExtraModuleNames.Add(“MyProject”);

Without this line the compilation succeed, but UE4Editor-projectname.dll is not created.