get_asset_status
Query an asset's build status (compiled, failed, missing) from the Asset Processor via the editor; the query also escalates it in the build queue.
Instructions
Ask the Asset Processor, through the editor, for one asset's build status.
Returns {"path", "status", "connected"} with status one of
unknown, missing, queued, compiling, compiled or
failed (plus query_path when the gem rewrote the path). The query
also escalates the asset in the build queue. A source whose build failed
has no products and answers missing; use get_asset_jobs or
wait_for_asset to tell that apart from a file not registered yet.
Needs the AiCompanion gem 0.6.0+; works in secure mode.
Args: path: A source or product path, relative to the project, or a full path. flush_io: Flush the file monitor first. Use right after writing the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| flush_io | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |