シーン検証
dx12_validate_sceneValidates a scene JSON's reference graph, checking script paths, entity references, trigger targets, and scene paths. Runs as a child process for safe parallel execution with the editor.
Instructions
シーン JSON の参照グラフをヘッドレスで検証する(CLI --validate と同じロジックをエンジン自身の子プロセスとして実行)。スクリプトパス存在・entity参照プロパティ解決・Trigger の filter/action target 解決・LoadScene 等のシーンパス存在をチェック。path 省略時は現在開いているシーン。{pass, exitCode, report, scenePath}。report はテキストレポート全文(PASS/FAIL・[info]/[warn]/[ERROR] 行)。編集→検証→修正のループに使う。子プロセスとして起動する(GPU初期化前に終了するので実行中のエディタと並行しても安全)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | assets 相対パス。省略時は現在開いているシーン。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |