UE5 C++创建项目失败

An error occurred while trying to generate project files.

Running D:/UE/UE_5.3/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“D:/UEMyProject/Slash/Slash.uproject” -game -rocket -progress
CreateProc failed: 系统找不到指定的文件。 (0x00000002)
URL: D:/UE/UE_5.3/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“D:/UEMyProject/Slash/Slash.uproject” -game -rocket -progress
Couldn’t create process ‘D:/UE/UE_5.3/Engine/Build/BatchFiles/Build.bat’

试了一下UE4正常,UE5其他项目编译时同样报错

C:\Windows\System32>D:/UE/UE_5.3/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“D:/UEMyProject/Slash/Slash.uproject” -game -rocket -progress
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -projectfiles -project=“D:/UEMyProject/Slash/Slash.uproject” -game -rocket -progress
Log file: C:\Users\Chen\AppData\Local\UnrealBuildTool\Log_GPF.txt
Unhandled exception: System.Exception: Unable to find project file based on argument D:/UEMyProject/Slash/Slash.uproject
** at UnrealBuildTool.GenerateProjectFilesMode.TryParseProjectFileArgument(CommandLineArguments Arguments, ILogger Logger, FileReference& ProjectFile) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\GenerateProjectFilesMode.cs:line 325**
** at UnrealBuildTool.GenerateProjectFilesMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\GenerateProjectFilesMode.cs:line 82**
** at UnrealBuildTool.UnrealBuildTool.Main(String ArgumentsArray) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 659 strong text**
重装vs,UE5.3,照样报错,网上大部分都是dotnet缺失的,而我做了一遍照样报错

你创建一个UE5.3的新项目试一试
这个问题看起来像5.3自身的问题,你也可以去Launcher修复5.3试一试