UE5.7.1 ProjectLauncher Packaging Error when build .pak file

Hi,

I’m trying to build .pak file by UE5.7.1 Project Launcher. But I get some error when packaging. Both mac and windows. There is my package config.

And there is the error log:


********** COOK COMMAND COMPLETED **********
********** STAGE COMMAND STARTED **********
Creating UECommandLine.txt
Creating Staging Manifest...
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/PortableObjectImport.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseLightmass.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseEditorPerProjectUserSettings.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/WordCount.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseEditorSettings.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/RepairData.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Mac/MacEditorPerProjectUserSettings.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseUnrealInsightsSettings.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/Category.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseEditorKeyBindings.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/PropertyNames.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseEditor.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseSourceControlSettings.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/Editor.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/Keywords.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/Engine.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BasePakFileRules.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/PortableObjectExport.ini
Excluding config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Localization/ToolTips.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseInstallBundle.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseInput.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/ConsoleVariables.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Mac/DataDrivenPlatformInfo.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/VulkanPC/DataDrivenPlatformInfo.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseCompat.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseGameUserSettings.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseGame.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Mac/MacGame.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Mac/BaseMacEngine.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Mac/BaseMacInput.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseRuntimeOptions.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseHardware.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseEngine.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/ConfigRedirects.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseDeviceProfiles.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseMaterialExpressions.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Base.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/BaseScalability.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Layouts/UE4ClassicLayout.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/Layouts/DefaultLayout.ini
Including config file /Users/Shared/Epic Games/UE_5.7/Engine/Config/PluginBase.ini
Excluding config file /Users/apple/repos/UnrealProjects/HotUpdate/Config/DefaultEditor.ini
Including config file /Users/apple/repos/UnrealProjects/HotUpdate/Config/DefaultEngine.ini
Including config file /Users/apple/repos/UnrealProjects/HotUpdate/Config/DefaultGame.ini
Including config file /Users/apple/repos/UnrealProjects/HotUpdate/Config/DefaultInput.ini
Cleaning Stage Directory: /Users/apple/repos/UnrealProjects/HotUpdate/Saved/StagedBuilds/Mac
A Zen file manifest must not exist when staging without IoStore. Did not expected to find /Users/apple/repos/UnrealProjects/HotUpdate/Saved/Cooked/Mac/HotUpdate/Metadata/zenfs.manifest. Ensure that legacy cooking with ZenStore disabled (bUseZenStore=false) was successful.
(see /Users/apple/Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt for full exception trace)
AutomationTool executed for 0h 1m 11s
AutomationTool exiting with ExitCode=1 (Error_Unknown)
RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 1

I have tried that delet DerivedDataCached and Cooked folders. And I’m cooking a brand new empty projects.

I guess the error may be here but why it.

Has anyone else experience this? Any hints or tip would be appreciated a lot, thanks!

Hello there @DaVinci_13!

From the data you have provided, I think the conflict relies on the cooking/packaging method. You are currently set for Pak, Io Store is disabled, yet a Zen Store file is still being generated, as seen in the warning below:

“A Zen file manifest must not exist when staging without IoStore. Did not expected to find zenfs.manifest. Ensure that legacy cooking with ZenStore disabled (bUseZenStore=false) was successful.”

Meaning, the pack files due Zen files still being generated. The engine does not expect said file, and whole thing collapses. This is most likely due elements from previous builds still enforcing Zen.

Yet, you cleared your cache, which should prevent any lingering data from interfiering. Still, from your mentioned folders, that is not a full cache clear. I would suggest deleting all the following folders from your main directory:

/Saved
/DerivedDataCache
/Intermediate
/Binaries

After that, open your DefaultEngine.ini file and make sure the entry from the warning is set to false:

[/Script/UnrealEd.ProjectPackagingSettings]
bUseZenStore=False

With these changes, test packaging again. If the issue persists, I would test disabling “Generate Chunks”, as this function may force activation of Zen Store, restarting the whole issue. You could also perform another test with “Use Io Store” enabled (please remember to clear cache between all tests). Hope this helps, and good luck!