validate_state_tree
Compile a StateTree asset in memory and report its errors and warnings without saving, so you can verify it before a saved compile.
Instructions
Compile a StateTree asset in memory and report its errors and warnings without saving: valid, compiled, error_count, warning_count and the messages. It still marks the package dirty and refreshes the compiled data in memory; compile_state_tree compiles and saves.
Returns: { tree_path, valid, compiled, error_count, warning_count, message_count, saved, errors: [{severity, message}], warnings: [{severity, message}], note }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree_path | Yes | Asset path of the StateTree, e.g. "/Game/AI/ST_Guard". |