compare_asset_versions
Compare a single asset across multiple Content roots to detect incomplete stub copies versus complete versions by ref-count, size, and modification time.
Instructions
Apply the binary ref-scan of scan_uasset_refs to the SAME asset (rel_path) across N external Content roots, reporting ref-count / size / mtime (and optional pattern-match count) per root so you can tell an incomplete (stub) copy from the complete one at a glance.
Returns: { rel_path: string, pattern: string, roots: [{root, full_path, exists, size_bytes, modified, ref_path_unique, ref_path_occurrences, match_unique, match_occurrences}], most_complete_root: string, likely_stub_root: string, message: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roots | Yes | List of external Content-root directories to compare across. | |
| pattern | No | Optional regex (ECMAScript) forwarded to the scan; when set, roots rank by pattern-match count instead of ref-path count. | |
| rel_path | Yes | Asset path relative to each root's Content dir, e.g. 'Characters/Mannequin/ABP_Manny.uasset' (a missing extension defaults to .uasset). | |
| name_pattern | No | Alias of `pattern` (same value, same meaning). Accepted because sibling tools spell this parameter differently; prefer `pattern`. |