When I try to create a C++ project it fails to create the project. This is the log it gives me after giving a prompt saying ‘an error occurred while trying to generate project files.’:
Running C:/Program Files/Epic Games/UE_5.3/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“C:/Users/Bobby/Documents/Unreal Projects/asdf/asdf.uproject” -game -rocket -progress
set DOTNET_ROOT=%UE_DOTNET_DIR%
rem Disables use of any installed version of dotnet
set DOTNET_MULTILEVEL_LOOKUP=0
rem for dotnet applications that require older dotnet runtimes, this will allow them to use our bundled dotnet runtime
set DOTNET_ROLL_FORWARD=LatestMajor
rem skip dotnet verification when using our submitted sdk as we know it is up to date
ECHO Using bundled DotNet SDK version: %UE_DOTNET_VERSION%
Using bundled DotNet SDK version: 6.0.302
goto Succeeded
exit /B 0
There is nothing else that exists in the logs past this.
This also occurs when I try to build previous working C++ projects. Unreal gives the same log and exits the build immediately. The only difference is instead of calling build.bat, it runs the automation tool and gives this error:
LogTurnkeySupport: Completed device detection: Code = 255
LogTurnkeySupport: Warning: Turnkey failed to run properly, full Turnkey output:
Running AutomationTool…
I have installed all the different dotnet files, reinstalled and verified the engine, and reinstalled and verified required VS configurations.
Occurs in both engines of 5.3 and 5.4. (I really do not want to upgrade versions beyond this due to my current large project.)
I would really like to get this fixed. This first occurred beginning of this year and I have not found a solution. The only solution for me was to abandon development on my main workstation that this occurs on and use my laptop (no problems there).