Hey, I was able to generate the project by another method, and now I’m not having any issues at all. What I did was run this command in the terminal:
"E:\UnrealEngine-4.27-plus\Engine\Build\BatchFiles\GenerateProjectFiles.bat" -project="E:\Projects\Project\MyProject.uproject" -game -progress"
After that, my project files were generated correctly.
2 Likes