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.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
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 BuildCookRunfor CI. - Use when the project has a
*.uprojectandConfig/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
- 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.
- Pick the build configuration: Development (default; optimized but keeps logging/
stats/console for testing) vs Shipping (all optimizations, debugging tools stripped โ for
release).
DebugGame/Debugare for debugging engine/game code and aren't for distribution;DebugGameisn't available for Blueprint-only projects. - 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/.ucaswhen Use Io Store is on, which is the default). Packaging runs a cook as part of it. - Package from the editor: the Platforms menu โ choose the platform (e.g. Windows) โ set the Binary Configuration โ Package Project โ pick an output folder.
- 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. - Tune Packaging settings (Project Settings โ Packaging): which maps/directories to cook, full-rebuild, compression, and whether to build all maps.
- Validate assets before packaging when UnrealEditor-Cmd is available. Run
UnrealEditor-Cmd <Project>.uproject -run=DataValidation(UnrealEditor-Cmd.exeon Windows) and fix every reported validation error before cooking. - 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 orTest. A Shipping build has no consolequit, 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.
Popularitas
- Bintang GitHub
- 6.6k
- Peringkat
- #13857
- Lisensi
- Apache-2.0
- Diperbarui
- 28/10/2026
Komentar
- โฆ
Skill lain dari repositori ini
router
6.6kMembantu agent Anda memilih skill pengembangan game yang tepat untuk setiap permintaan dengan mendeteksi engine Anda dan jenis tugas yang Anda perlukan.
ai-behavior-trees-utility-ai
6.6kMembantu agent Anda membangun behavior tree dan sistem utility AI untuk musuh dan karakter game yang memilih aksi berdasarkan prioritas dan skor.
audio-design
6.6kMengajari agent Anda cara mixing audio game: bus, volume dalam desibel, ducking di bawah dialog, musik adaptif, dan variasi efek suara.
camera-systems
6.6kMembantu agent Anda membangun kamera game yang mengikuti dengan halus, tetap berada di dalam level, dan dapat mengorbit atau melihat sekeliling dalam 3D.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.