PackagingResults: Error : Unknown Error

Should someone help me? :dizzy_face: :sob: :sob: I encountered this problem when packaging games. After checking the SDK and baking games, it still hasn’t been solved. What’s the matter? :sob:

LogTurnkeySupport: Display: Adding device menu item for DESKTOP-5UQ2GRO
LogTurnkeySupport: Display: Adding device menu item for DESKTOP-5UQ2GRO
LogUObjectHash: Compacting FUObjectHashTables data took 0.14ms
LogTurnkeySupport: Project requires temp target (已启用ElectraPlayer插件)
LogLauncherProfile: Unable to use promoted target - …/…/…/…/…/UE5.03xiangmu - 副本/第一关/Binaries/Win64/UnrealGame.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c "“D:/UE5/UE_5.0/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“D:/UE5.03xiangmu - 副本/第一关/第一关.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=54987 -project=“D:/UE5.03xiangmu - 副本/第一关/第一关.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“D:/UE5.03xiangmu - 副本/第一关/第一关.uproject” -unrealexe=“D:\UE5\UE_5.0\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -ddc=InstalledDerivedDataBackendGraph -installed -stage -archive -package -build
-compressed -iostore -pak -prereqs -archivedirectory=“D:/Demo1"” -nocompile ]
UATHelper: 打包 (Windows): Running AutomationTool…
UATHelper: 打包 (Windows): Parsing command line: -ScriptsForProject=“D:/UE5.03xiangmu - ???/??һ??/??һ??.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=54987 -project=“D:/UE5.03xiangmu - ???/??һ??/??һ??.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“D:/UE5.03xiangmu - ???/??һ??/??һ??.uproject” -unrealexe=D:\UE5\UE_5.0\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -ddc=InstalledDerivedDataBackendGraph -installed -stage -archive -package -build -compressed -iostore -pak -prereqs -archivedirecto
ry=D:/Demo1 -nocompile
UATHelper: 打包 (Windows): Log location: C:\Users\eigui\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.0\Log.txt
UATHelper: 打包 (Windows): Installed Sdk validity:
UATHelper: 打包 (Windows): Win64: (Status=Valid, Installed=10.0.22000.0, AutoSDK=, MinAllowed=10.0.00000.0, MaxAllowed=10.9.99999.0, Flags=“InstalledSdk_ValidVersionExists”)
UATHelper: 打包 (Windows): Scanning for envvar changes…
UATHelper: 打包 (Windows): … done!
UATHelper: 打包 (Windows): Cleaning Temp Paths…
UATHelper: 打包 (Windows): BUILD SUCCESSFUL
UATHelper: 打包 (Windows): Setting up ProjectParams for D:\UE5.03xiangmu - 副本\第一关\第一关.uproject
UATHelper: 打包 (Windows): 第一关.uproject requires a temporary target.cs to be generated (ElectraPlayer plugin is enabled)
UATHelper: 打包 (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: 打包 (Windows): Running: D:\UE5\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe 第一关 Win64 Development -Project=“D:\UE5.03xiangmu - 副本\第一关\第一关.uproject” “D:\UE5.03xiangmu - 副本\第一关\第一关.uproject” -NoUBTMakefiles -remoteini=“D:\UE5.03xiangmu - 副本\第一关” -skipdeploy -Manifest=“D:\UE5.03xiangmu - 副本\第一关\Intermediate\Build\Manifest.xml” -NoHotReload -log=“C:\Users\eigui\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.0\UBT-第一关-Win64-Development.txt”
UATHelper: 打包 (Windows): Log file: C:\Users\eigui\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.0\UBT-第一关-Win64-Development.txt
UATHelper: 打包 (Windows): Writing manifest to D:\UE5.03xiangmu - 副本\第一关\Intermediate\Build\Manifest.xml
UATHelper: 打包 (Windows): Building 第一关…
UATHelper: 打包 (Windows): Using Visual Studio 2019 14.29.30147 toolchain (D:\打包环境\VC\Tools\MSVC\14.29.30133) and Windows 10.0.22000.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: 打包 (Windows): [Adaptive Build] Excluded from 第一关 unity file: 第一关.cpp
UATHelper: 打包 (Windows): Determining max actions to execute in parallel (10 physical cores, 16 logical cores)
UATHelper: 打包 (Windows): Executing up to 10 processes, one per physical core
UATHelper: 打包 (Windows): Requested 1.5 GB free memory per action, 3.8 GB available: limiting max parallel actions to 2
UATHelper: 打包 (Windows): Building 4 actions with 2 processes…
UATHelper: 打包 (Windows): [1/4] Compile SharedPCH.Core.ShadowErrors.cpp
UATHelper: 打包 (Windows): c1xx: fatal error C1083: �޷��򿪱������м��ļ�: ��D:\UE5.03xiangmu - 副本\第一关\Intermediate\Build\Win64\第一关\Development\Core\SharedPCH.Core.ShadowErrors.h.pch��: No such file or directory
UATHelper: 打包 (Windows): Took 1.0236094s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: 打包 (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\eigui\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE5+UE_5.0\UBT-第一关-Win64-Development.txt)
UATHelper: 打包 (Windows): AutomationTool executed for 0h 0m 2s
UATHelper: 打包 (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: 打包 (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

先试试把项目当中的中文路径改成英文

Some plug-ins in UE are not supported in the engine path, only in the project path

Greetings @LLLYvonne

Welcome to the Unreal Engine Community Forum. I would recommend starting by disabling plugins one by one until the error stops. Kind of a ‘process of elimination’. But, if it is indeed a plug-in causing the issue, that’d give you the answer on which one/ones are causing it.

编码兼容问题导致UE并不支持使用中文路径