Build failed for unknown reason.

So when I try to package ANY project in UE 5.3 for Windows, I get the error in the following image:

This doesn’t only happen to this specific project, I also get the error when packaging a very small test Project.

I even tried reinstalling the whole engine, but that did nothing.

Anything Helps!

Hey Artin!
It cannot find a header which is part of your standard headers. In the worst case, your compiler has been broken. I suggest deleting your Intermediate folder, located in your project folder, along side the .sln file. Then regenerate your solution. If everything is right with your compiler and standard libraries, it should solve your problem.

Hello, thanks for the reply!

I tried deleting the intermediate folder, but I couldn’t find any file with the extension ‘.sln’.
When re-opening the project, a new intermediate file appears in the project directory.

However I still get the same packaging error.

Is there something I’m doing wrong?
Also, like I said this error happens on every project I try to package, not just this one.

Thanks!

Right-click on your project file with the .uproject extension. The top part of the context menu should look like this (you might need to click on Show more options first on Windows 11):
image
Then, click on Generate Visual Studio project files item.
You may be prompted to select your engine version. After that, the solution file should be located in the same folder your project file is located.

Hey SamiMD, so I did everything, watched a couple YT videos and generated the files. Then, I opened my project, and after about half an hour of it trying to package my game, I get this error

EDIT: I created a new project and I am working on that one. Turns out it was that specific project that was causing all those errors. Packaging now works fine.

Can you give me the whole log? Maybe even the one generated for the build process? The file address should be written somewhere in the log window you sent me a screenshot from.