ingest_external_uassets
Copy external .uasset/.uexp/.ubulk/.umap files into the project Content, preserve relative paths, register packages, and fix redirectors.
Instructions
Copy .uasset/.uexp/.ubulk/.umap from an EXTERNAL Content tree into THIS project, preserving each file's path relative to its Content root, then register the new packages with IAssetRegistry::ScanPathsSynchronous(bForceRescan) and sweep object redirectors under the destination. Fills the gap that migrate_assets only EXPORTS and import_asset is FBX/PNG-only. HEAVY: touches project Content on disk + mutates the registry -- run with confirmation.
Returns: { source_dir: string, content_root: string, dest_root: string, dest_dir: string, files_copied: int, files_skipped: int, files_failed: int, scanned_paths: [string], redirectors_fixed: int, copied: [{src, dest, package_path}], message: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Optional list of relative sub-paths (relative to the Content root) to restrict the copy to; empty/absent = whole tree. | |
| dest_root | No | Destination content mount path (optional, default '/Game'); e.g. '/Game/MyGame/Imported'. | |
| overwrite | No | Optional bool (default false). When false, destination files that already exist are skipped. | |
| source_dir | Yes | External source directory (its Content ancestor defines the preserved relative path; if none, source_dir itself is the root). | |
| fixup_redirectors | No | Optional bool (default true). Resolve + leave-fixed object redirectors under dest_root after the copy. |