Packaging and Deployment
unreal-packaging-deployment12 focused referencesBuild, cook, stage, package, archive, deploy, release, and diagnose Unreal Engine 5.8 projects. Use for build configurations and targets, UnrealBuildTool, AutomationTool, BuildCookRun, Project Launcher profiles, command-line cooks, cook inclusion, maps, Pak or IoStore containers, chunks, patches, DLC, platform SDKs, plugins, runtime dependencies, configuration staging, signing and encryption, symbols, logs, crash reporting, CI artifacts, reproducible builds, missing cooked assets, packaging failures, or packaged-build differences.
Establish the artifact contract
Read references/system-selector.md.
- Record engine revision, project commit, target platform, architecture, target type, build configuration, device profile, distribution channel, and base release when patching.
- Define the artifact: Development/Test/Shipping, client/server, container format, chunks, symbols, prerequisites, archive, deploy destination, and acceptance tests.
- Separate Build, Cook, Stage, Package, Deploy, and Run. Identify the first failing phase.
- Reproduce with a saved Project Launcher profile or recorded AutomationTool command.
- Preserve the complete log, exit code, manifests, artifact hashes, size report, and symbol identity.
- Run from a clean staging/archive location and test without editor binaries, loose source content, developer config, or a cook server.
- Promote the exact tested artifact; do not rebuild after approval.
Route neighboring work deliberately:
- asset schemas, Primary Asset rules, and content-to-chunk ownership ->
unreal-data-assets-tables; - commandlets, Data Validation, and automation tests ->
unreal-editor-automation; - runtime loading, residency, PSOs, and load hitches ->
unreal-memory-streaming; - packaged performance captures ->
unreal-insights-profiling; - save-format compatibility across releases ->
unreal-save-load.
Load only what applies:
references/build-configurations-targets.mdreferences/build-cook-stage-package.mdreferences/cooking-inclusion-validation.mdreferences/uat-project-launcher-ci.mdreferences/containers-chunks-patches-dlc.mdreferences/config-staging-runtime-dependencies.mdreferences/plugins-sdks-platforms.mdreferences/symbols-logs-crash-reporting.mdreferences/release-reproducibility-security.mdreferences/diagnostics-recipes.md
Required answer format
Return:
- Artifact contract and target matrix.
- Exact pipeline surface: editor, Project Launcher, commandlet, UAT, or CI.
- Ordered Build/Cook/Stage/Package/Deploy actions and owned configuration.
- Cook roots, maps, chunks, staged files, plugins, SDKs, and platform prerequisites.
- Symbols, logs, crash collection, version/build ID, archive, and security policy.
- Clean-device verification, failure injection, patch/base compatibility, and pass criteria.
- First causal error with the smallest confirming experiment when diagnosing.
Hard rules
- Use Cook By the Book and a packaged target build for QA/release evidence; Cook On the Fly is an iteration service, not a distributable artifact.
- Never use
-cookall, broad always-cook directories, or loose copied assets as the first fix for a missing dependency. Identify the intended cook root and prove it in manifests/artifacts. - Never infer success from AutomationTool exit alone. Launch, traverse, save/load, network, suspend, and platform-test the staged artifact required by the release contract.
- Keep source defaults, platform overrides, generated user config, and secrets separate. Inspect the staged effective configuration and strip denied keys/sections.
- Declare third-party runtime files through build/staging rules; do not repair a release by manually copying an untracked DLL beside one machine's executable.
- Preserve symbols outside the public artifact and map them to the exact executable/build identity.
- Build a patch against the exact retained base release. Never regenerate or silently replace the base.
- Treat signing/encryption keys as release secrets. Encryption can increase patch entropy and IO cost; measure the chosen policy.
- Test the distribution path on clean target hardware with the correct account, SDK/runtime, permissions, storage state, and no editor installation.
- Do not invent UAT flags or platform requirements. Inspect
BuildCookRun -Help, the generated Project Launcher command, UE 5.8 source, and the target platform's current restricted documentation.
See references/sources.md for the UE 5.8 primary-source trail.
Focused references
Go deeper only where the task requires it.
.mdBuild configurations and targetsOpen reference →.mdBuild, cook, stage, package, deployOpen reference →.mdConfig, staging, and runtime dependenciesOpen reference →.mdContainers, chunks, patches, and DLCOpen reference →.mdCooking, inclusion, and validationOpen reference →.mdDiagnostic recipesOpen reference →.mdPlugins, SDKs, and target platformsOpen reference →.mdRelease reproducibility and securityOpen reference →.mdUE 5.8 primary sourcesOpen reference →.mdSymbols, logs, and crash reportingOpen reference →.mdSystem selectorOpen reference →.mdProject Launcher, UAT, and CIOpen reference →