Can't create, open or build project with Unreal Engine 5.2

I recently installed Unreal Engine 5.2 because me and some other people want to start a new project. I pulled the game files from GitHub and wanted to open the game from the editor. When I do that I get the following message.

SpaceInnovators could not be compiled. Try rebuilding from source manually.

Ok, I’ve had this message before. Then I tried to generate Visual Studio project files so that I can build the game from the VS solution. Then I get this message.

Running E:/!Unreal/UE_5.2/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“E:/!UnrealProjects/Space-Innovators/SpaceInnovators.uproject” -game -rocket -progress -log=“E:!UnrealProjects\Space-Innovators/Saved/Logs/UnrealVersionSelector-2023.08.04-21.19.45.log”
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.

And now I don’t know what to do. I tried repairing the engine using the “Verify” option from the epic games launcher, twice, but nothing happened. I tried upgrading Visual Studio, but that didn’t work as well. I decided to test if there was more to this problem and tried creating a new project only to get the same error. So now I can’t open the project, build it from source or even create a new one. We’ve been trying to find out what to do in order to fix this problem but nothing has worked. Any ideas?

1 Like

It turns out it’s not ok to start folder names with “!”… This isssue never happened in UE5.1 or earlier, but it’s not ok to do it now.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.