<< All versions
Skill v1.0.1
currentAutomated scan100/100bigdra50/unity-cli/unity-build
1 files
──Details
PublishedMay 28, 2026 at 07:47 AM
Content Hashsha256:5db541d14508f0df...
Git SHA68692892e902
Bump Typepatch
──Files
Files (1 file, 2.0 KB)
SKILL.md2.0 KBactive
SKILL.md · 58 lines · 2.0 KB
version: "1.0.1" name: unity-build description: | ビルドワークフロー。検証 → 設定確認 → ビルド実行 → エラー対応。 Use for: "ビルド", "ビルド実行", "プラットフォーム設定", "ビルドエラー" license: MIT compatibility: Requires u CLI (unity-cli) and active Unity Editor via Relay Server. metadata: openclaw: category: "game-development" user-invocable: true requires: bins: ["u"]
unity-build
PREREQUISITE:../unity-shared/SKILL.md(Relay Server 経由で Unity Editor が起動/アクティブであること)skill 経由のコマンドは必ず-i <instance>を付ける (unity-shared #インスタンス指定)。
ワークフロー
text
1. /unity-verify Quick Verify コンパイルエラーがないことを確認2. ビルド設定確認 u -i <instance> build settings --json3. ビルドシーン確認 u -i <instance> build scenes --json4. ビルド実行 u -i <instance> build run --target <platform> --output <path>5. 結果確認 成功/失敗を報告
コマンド
bash
u -i <instance> build settings --json # 現在の設定u -i <instance> build scenes --json # ビルドシーン一覧u -i <instance> build run --target StandaloneWindows64 --output ./Build # ビルド実行
プラットフォーム
| target | 値 | |
|---|---|---|
| Windows | StandaloneWindows64 | |
| macOS | StandaloneOSX | |
| Android | Android | |
| iOS | iOS | |
| WebGL | WebGL |
エラー対応
| エラー | 対応 | |
|---|---|---|
| コンパイルエラー | /unity-verify で修正ループ | |
| Missing Scene | u -i <instance> build scenes で確認、シーンパス修正 | |
| プラットフォーム未対応 | u -i <instance> api call UnityEditor.EditorApplication ExecuteMenuItem --params '["File/Build Settings"]' |