C++ Build Errors

I am currently using UE 5.4.4 in conjunction with the latest up to date VS 2022 along with build tools that are also up to date. I have added the additional things from the Game Development with C++ and the necessary Unreal Engine tools from the workload section as well as the most current Windows 10 SDK.

When I am creating a new C++ project I am having to use visual studio to build manually every single time and after building and working I am no longer able to build manually after the first successful build within VS, there arent any obvious errors that I’m aware of as I generally use blueprints rather than C++ (this project is for college.) I am trying to find a way to prevent this from happening at project startup. I am also using GitHub as well for remote grading purposes with LFS enabled if that makes a difference.

Any information anyone could provide about a similar issue would be greatly appreciated. If I need to provide additional information of screenshots I am willing to do so. Thanks in advance.

The officially recommended VS 2022 version for UE 5.4 is 17.8. I saw fixes online for certain issues that are probably what you’re encountering as well while using UE 5.4 with the latest VS version, you didn’t specify the errors you got but that’s probably the case, but I’d recommend trying it with VS 2022 17.8.

If your issue persists, you can provide more context along with your error messages for us to take a look at.

Hope this helps! :innocent:


Hmmm… Maybe that’s not the case, but it sounds like you’re trying to build the project while the editor is open. Can it be that by any chance?

You can click on the icon that’s a square made of squares at the bottom to compile. Sometimes it doesn’t work when making changes to the header file, in which case you should just close the editor and build the project again from VS.