“could not be compiled. Try rebuilding from source manually.”

For anyone struggling with seemingly unfixable file issues, I want to share a solution that finally worked for me after trying everything else.

My problem turned out to be incredibly simple: the directory path of my files contained a special character or was in a different language.

Once I deleted the problematic files and re-cloned them into a new directory with a clean, standard path, everything suddenly worked perfectly.

This might be your issue, or it might not, but it’s definitely worth checking if you’re out of ideas o(≧▽≦*)o

Thank you man that worked!

This Magically work. I have Visual studios download with all the components and it just kinda re-builts itself! Thank you Also I think after rebuilding the .sin file I switched the engine! not sure if that was the final solution for me.

  • Delete Binaries, Build, Intermediate, Saved suggested above by patrick
  • Launch the project
  • Project rebuilds .sin files with other folders recreated
  • Before launching again I think I Switched versions 5.3-5.6 and somehow that worked. lmao. The Project was made in 5.0

This seemed to work for me.

  • Close Unreal / Epic.
  • Manually open Visual Studio > Help > Update > Update to latest version.
  • Restart PC.
  • Load project as usual through the Epic Launcher.

I have quite an old project file. After reading this, I temporarily removed the “YourProjNameEditor.target.cs” file, and I was finally able to get my project to compile properly. I pasted it back after, and there were no issues.

I had the same issue, and here’s what I did to solve it.

I’m making the project in different PCs (school and personal) and I’m using different versions in each one (5.6 and 5.6.1), when I try to open the project, it asked to change the version, and when it started, in the log, it showed some errors in the code because I was trying something at school and had to go home. What I did was open .sln file, comment everything that I was trying to do, deleted every folder, excluding Config, Content and Source, Generated the Code and Opened the project. When it started to change the version, there we’re no errors and it opened.