An error occurred while trying to generate project files.

Guys im new to unreal engine and tried to create my first project as “Third Person” but whenever i try to create a project i keep gettin this report. Would be very happy if someone ccan help:))

report:
An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“C:/Users/Rüveyda/Documents/Unreal Projects/MyProject/MyProject.uproject” -game -rocket -progress

Did you try to run directly the UnrealbuildTool.exe? It is located in the Binaries folder…

I changed your command:
"C:/Program Files/Epic Games/UE_5.5/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe" -projectfiles -project="C:/Users/Rüveyda/Documents/Unreal Projects/MyProject/MyProject.uproject" -game -rocket -progress

Also open the Build.bat file, inside a text editor. It has some documentation in the first lines. (if you want to use the .bat file)

Hope it helps…

I appreciate the answer. Can you elobrate the run the unrealbuiltool.exe ? Cause when i click it nothing happens

Sorry for the late (almost 1.5 months) answer. Too much work lately and no time for unreal forum…

You must not double click the unrealbuiltool.exe because it needs the correct arguments. You must write the command I wrote you in a command line

  1. Windows + R > cmd > Enter
  2. paste the follow command I wrote above
    "C:/Program Files/Epic Games/UE_5.5/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe" -projectfiles -project="C:/Users/Rüveyda/Documents/Unreal Projects/MyProject/MyProject.uproject" -game -rocket -progress
    Caution: The directory of your project. You must change it if you are trying to generate another project.
  3. Now you should see the Generating VisualStudio project files: etc… or if any errors found.

Alternative: I you want to double click a .bat file:

  1. Create a new .bat file
  2. paste and save the above command
  3. You can add the PAUSE command in the last line of .bat file to check the generating of project files was ok

If you run in the cmd just the:
"C:/Program Files/Epic Games/UE_5.5/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe"
it will print you all the available arguments can be used