Langsung ke konten
Skillpedia
Pemrograman umum6.6k ยท #13857

unreal-packaging

Fungsinya

Skill ini menunjukkan cara mengubah proyek Unreal Engine 5 menjadi build yang bisa dimainkan. Skill ini untuk pengembang yang menyiapkan versi uji atau rilis game.

Kapan dipakai

  • โœ“Saat Anda membuat build uji atau rilis dari proyek Unreal Engine 5.
  • โœ“Ketika Anda perlu memilih antara build Development dan Shipping atau mengatur opsi packaging.
  • โœ“Ketika Anda ingin mengotomatiskan build dari baris perintah, misalnya di sistem CI.

Link skill

https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/unreal/unreal-packaging/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/unreal/unreal-packaging/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œKemas game Unreal saya sebagai build Windows untuk penguji, dan pastikan game dimulai di level yang benar.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini menjelaskan cara mengatur peta awal default, memilih konfigurasi build, melakukan cooking konten untuk platform, dan menjalankan packaging dari editor atau baris perintah.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Unreal Packaging & Cooking

Turn a UE5 project into a runnable, distributable build: choose the right build configuration, cook content, set the launch map, and package โ€” from the editor or the command line. Targets UE 5.8.

When to use

  • Use when producing a build (test or release), choosing Development vs Shipping, cooking content, configuring Packaging / Maps & Modes settings, or automating builds with RunUAT BuildCookRun for CI.
  • Use when the project has a *.uproject and Config/Default*.ini, and the goal is a packaged player rather than running in-editor.

When not to use: storefront submission/release process โ†’ steam-publish / itch-publish. Editor-time gameplay/iteration is not packaging.

Core workflow

  1. Set the launch map. Project Settings โ†’ Maps & Modes โ†’ Game Default Map is what a packaged build loads first. Wrong/empty here is the most common "packaged game is black" cause.
  2. Pick the build configuration: Development (default; optimized but keeps logging/ stats/console for testing) vs Shipping (all optimizations, debugging tools stripped โ€” for release). DebugGame/Debug are for debugging engine/game code and aren't for distribution; DebugGame isn't available for Blueprint-only projects.
  3. Understand cook vs package. Cooking converts assets to the target platform's format. Staging/packaging copies the compiled executable + cooked content into a standalone, distributable folder, with content in container files (.pak, plus .utoc/.ucas when Use Io Store is on, which is the default). Packaging runs a cook as part of it.
  4. Package from the editor: the Platforms menu โ†’ choose the platform (e.g. Windows) โ†’ set the Binary Configuration โ†’ Package Project โ†’ pick an output folder.
  5. Or build from the command line with the Unreal Automation Tool (RunUAT BuildCookRun) for repeatable/CI builds. The Project Launcher (Platforms โ†’ Project Launcher) saves the same build/cook/stage/deploy choices as reusable launch profiles.
  6. Tune Packaging settings (Project Settings โ†’ Packaging): which maps/directories to cook, full-rebuild, compression, and whether to build all maps.
  7. Validate assets before packaging when UnrealEditor-Cmd is available. Run UnrealEditor-Cmd <Project>.uproject -run=DataValidation (UnrealEditor-Cmd.exe on Windows) and fix every reported validation error before cooking.
  8. Verify by running the packaged build, not just by a successful cook โ€” launch the executable and confirm it loads the right map and runs.

Patterns

1. Editor packaging (the menu path)

Platforms (toolbar)
  -> Windows
     -> Binary Configuration -> Development | Shipping
     -> Content Management -> Package Project
  -> choose/confirm the staging output folder

2. Command-line build with UAT (CI-friendly)

# Cook + build + stage + pak + archive a Shipping Windows build.
RunUAT BuildCookRun \
  -project="C:/Path/MyGame.uproject" \
  -noP4 -platform=Win64 -clientconfig=Shipping \
  -cook -allmaps -build -stage -pak -archive \
  -archivedirectory="C:/Builds/MyGame"

RunUAT lives in Engine/Build/BatchFiles/ (RunUAT.bat on Windows, RunUAT.sh on macOS/Linux). Drop -allmaps and pass -map=Map1+Map2 to cook a subset. UE 5.8 adds experimental Windows on Arm game builds: -clientarchitecture=arm64 (or arm64+x64 for both executables side by side); the editor itself is not supported on Arm64 in 5.8.

3. Cook only (no packaging), e.g. to refresh content

RunUAT BuildCookRun -project="C:/Path/MyGame.uproject" -noP4 \
  -platform=Win64 -clientconfig=Development -cook -skipstage

Pitfalls

  • Packaged build loads a black/empty level โ€” Game Default Map isn't set (or that map wasn't cooked). Set it in Maps & Modes and ensure it's included in the cook.
  • Shipping a Development build โ€” Development keeps logging/console/stats and is slower; ship Shipping. Conversely, Shipping strips UE_LOG/console, so debugging a Shipping-only issue needs Development or Test. A Shipping build has no console quit, so the game needs its own exit option.
  • A referenced map/asset is missing at runtime โ€” it wasn't cooked. Add it to the Packaging settings' maps/directories to cook, or cook all maps.
  • Build fails on the platform โ€” the platform SDK/toolchain isn't installed or is too old. For UE 5.8
Pertanyaan umum

Mengapa game yang saya kemas kadang menampilkan layar hitam?

Skill ini menunjuk peta awal default di pengaturan proyek sebagai penyebab yang paling umum.

Apa perbedaan Development dan Shipping?

Development menyimpan log dan alat uji, sedangkan Shipping menghapusnya dan dipakai untuk rilis.

Apakah ini mempublikasikan game ke toko?

Tidak. Langkah rilis ke toko dibahas dalam skill terpisah.

Detail

Deskripsi asli dari pembuat

Package and ship an Unreal Engine 5 project: the Platforms menu Package Project flow, build configurations (Development vs Shipping), cooking content, packaging settings and the Game Default Map, and command-line builds with RunUAT BuildCookRun. Use when packaging a build, making a shipping build, cooking content, configuring packaging settings, or when the user mentions package Unreal, cook content, shipping build, or BuildCookRun.

repo: gamedev-skills/awesome-gamedev-agent-skills

Popularitas

Bintang GitHub
6.6k
Peringkat
#13857
Lisensi
Apache-2.0
Diperbarui
28/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa