unreal-packaging
できること
Unreal Engine 5のプロジェクトを、遊べるビルドにする方法を示します。テストやリリースの版を準備する開発者向けです。
使う場面
- ✓Unreal Engine 5のプロジェクトで、テストまたはリリースのビルドを作っているとき。
- ✓DevelopmentとShippingのビルドを選んだり、パッケージングのオプションを設定したりする必要があるとき。
- ✓CIシステムなどで、コマンドラインからビルドを自動化したいとき。
スキルのリンク
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/unreal/unreal-packaging/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“テスターのために、私のUnrealゲームをWindows向けのビルドにパッケージ化してください。正しいレベルから始まるようにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、プロジェクトの既定の開始マップを設定し、ビルドの構成を選び、プラットフォーム向けにコンテンツをクックし、エディターまたはコマンドラインからパッケージングを実行する方法を説明します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
パッケージ化したゲームが黒い画面になるのはなぜですか?
スキルは、プロジェクトの設定にある既定の開始マップが、最もよくある原因だと指摘しています。
DevelopmentとShippingの違いは何ですか?
Developmentはログとテスト用のツールを残し、Shippingはそれらを取り除いてリリース用に使います。
ストアへの公開も扱いますか?
いいえ。ストアへのリリースの手順は、別のスキルで扱われます。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 6.6k
- ランキング
- #13857
- ライセンス
- Apache-2.0
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
router
6.6kエージェントが、エンジンとタスクの種類を見分けて、依頼に合ったゲーム開発のスキルを選べるよう支援します。
ai-behavior-trees-utility-ai
6.6kエージェントが、優先度と点数によって行動を選ぶ、ゲームの敵やキャラクター向けのビヘイビアツリーとユーティリティAIのシステムを作れるよう支援します。
audio-design
6.6kエージェントが、オーディオバス、デシベルでの音量、会話中の音の抑え込み(ダッキング)、適応型の音楽、効果音のバリエーションなど、ゲームのサウンドのミキシングを教えます。
camera-systems
6.6kエージェントが、なめらかに追従し、レベルの内側に収まり、3Dで周回したり見回したりできるゲームのカメラを作れるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。