Use your operating system’s command prompt / terminal.
Although after a while I noticed that this solution isn’t accurate at all. I just kept building the project. Sometimes it worked, sometimes it didn’t. I think that it depends on whatever you have running in the background. Try to build the engine after restarting your computer and closing every background application.
You should still try that command, maybe it’ll work for you.
Hey just wanted to say, I personally tried many solutions, in the end it seems like I had to repair both visual studio and Verify my unreal engine version.
Then I was able to build the project solution in C++.
Just saying in case this works with someone else.
If install failed while verifying, restart your PC, then try to verify again. (That’s what happened to me)
i know this doesn’t matter by now but I think i found the solution to this. Whats actually happening is that a plugin that you may not be using is not being built correctly. If you check your log file you will see the unreal error output that gives the the correct error!
UnrealEngine → Engine → Program → UnrealBuildTools
This can be so many things, in my case I moved one of the .cpp files to a different folder and didn’t realize my IDE copied file, so I had 2 different version of the same file, after deleting the unwanted one, error was gone.