"[project name] could not be compiled. Try rebuilding from source manually"

Sooo, i’ve seen quite a few questions about this, but none of the aforementioned suggestions helped me with this.
At first i get:

The following modules are missing or built with a different engine version:
[project name]
Would you like to rebuild them now?

and then nothing happens and i get the error in the title.
So far i tried:

  • Reinstalling the editor
  • Deleting recommended folders (binaries, saved etc.)
  • Deleting and generating a new solution (.sln) file
  • Tried to close the unreal editor in the task manager (it wasn’t active there)
  • Rebuilding it in Visual Studio 2022
    …without success

The project was orignially created in UE 4.1 (i believe) and I now want to use it in UE 4.3
It’s not a huge deal to start from scratch, but it would be painful nevertheless.

If anyone can help me i would be very grateful :slight_smile:

I fixed it. First i had to (not sure if that is necessery) delete these folders:

  • .vs
  • Binaries
  • Intermediate
  • Saved
    and the projects .sln file

Then right click the .uproject file and select “Generate visual studio project files”.
Open that new .sln file and in the Solution Explorer the “Games” folder and right click the item with your projects name, then select “Build”.

In my case there was some faulty duplicate code that i belive was created by the engine somehow :thinking:
After fixing these errors i was able to run the project as you normaly would.

2 Likes

but i don’t have .vs Binaries files and the projects .sln file i don’t know where is it