UE5.2无法打包

UATHelper: Packaging (Windows): ERROR: Unable to find target ‘MyProject’
UATHelper: Packaging (Windows): (see C:\Users\jz311\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Games+Epic+Games+UE_5.2\Log.txt for full exception trace)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 0s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults: Error: Unable to find target ‘MyProject’
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

Log.txt (22.7 KB)

BUG 解决了,DEBUG分析发现,我的文件夹D:\Programs\UnrealProject\MyProject,被错误识别为了UE的Program文件夹,替换成了D:\Source\Programs\UnrealProject\MyProject的文件夹,所以无法访问到Target文件

// there is a special case of Programs, where the uproject doesn't align with the Sourcedirectory, so we redirect to where
// the program's target.cs file(s) are
if (FullProjectPath.Contains("/Programs/"))
{
     FullProjectPath = FullProjectPath.Replace("/Programs/", "/Source/Programs/");
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.