Cant build project from source manually

I havent worked on a C++ Unreal 5.4 project for a while. I now came back to it, but i cant open the project without compiling it.

Ive tried:

  • Deleting folders: Binary, Intimidiate, Saved, project.sln
  • Generate Visual Studio Project Files
  • Re-install Unreal Engine 5.4
  • Re-install Visual Studio 2022 with all packages recommended by Epic Games

Any suggestions or solutions are appreciated!

Did you try deleting the Source and .vs folders as well along with the .sln file and then opening the .uproject file?

I cant seem to do that since its a C++ project. Also i need the Source scripts for some actors.

You already should have a backup of your project at all times. If you don’t, create one and try my suggestion out. Once you open your .uproject file, you can create a new C++ class, close the editor, navigate to the newly generated Source folder, then into the folder with your project name under the Source folder, and replace the Public & Private folders there with the original ones :blush:

(you can select your new C++ class to be public while creating it for the Public & Private folders to be generated automatically btw)

1 Like

huh. it actually opened the project now. thank you so much :smiley:. i do have backups and git by the way, but i dont remember when i last synced, since its been a while. thats why i wanted to see if i could get the latest version to work. but yea, im in the engine now, and ill try the last steps you’ve said with adding a C++ class. I will mark this solved when ive tried that :smile:

1 Like

Worked perfectly! Thank you so much :smiley:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.