GenerateProjectFiles.bat Running error

Setting up Unreal Engine 5 project files…
Using bundled DotNet SDK
Building UnrealBuildTool…
ToolChain\UEToolChain.cs(388,25): error CS0111: 类型“ISPCToolChain”已定义了一个名为“GetISPCObjectFileFormat”的具有相同参数类型的成员 [G:\UnrealEngine-5.0\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj]

GenerateProjectFiles ERROR: UnrealBuildTool failed to compile.

请按任意键继续. . .

in …\Engine\Source\Programs\UnrealBuildTool project there are two functions with same name and body:
public virtual string GetISPCObjectFileFormat(UnrealTargetPlatform Platform)
I deleted one of them and that fixed it