UE5.1 Cannot Create C++ Project

As the title states I cannot create v5.1 C++ projects. Always returns an error about build.bat not found.

An error occurred while trying to generate project files.

Running U:/!!Engines/UE_5.1/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“U:/!!Projects/MyProject/MyProject.uproject” -game -rocket -progress
ERROR: The batch file does not appear to be located in the Engine/Build/BatchFiles directory. This script must be run from within that directory.


In 5.0 I can create C++ projects & Generate projectile files on pure BP projects etc. No issues.

Fresh install of the engine and verified.

VS 2022 17.4.4

What am I missing?

Update

Apparently v5.1 doesn’t like path directories having exclamation points in the name.

e.g. U:/!!Engines/UE_5.1U:/!!Projects

Reinstalling the engine to U:/Engines/UE_5.1 fixed my issues.

Moving all projects over to U:/Projects fixed all the other issues.

1 Like