interchange_import_asset
Import source files synchronously into Unreal Engine content folders without dialogs, replacing existing assets unless replace_existing is false.
Instructions
Import a source file synchronously through the Interchange manager: unattended, no dialogs, replacing existing assets unless replace_existing is false. When the InterchangeImport plugin is not loaded the note says so.
Returns: { file_path: string, destination_path: string, imported: bool, count: number, imported_objects: [string], note: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path of the source file to import on disk (e.g. "C:/Assets/Mesh.fbx"). Passed to UInterchangeManager::CreateSourceData. | |
| destination_path | No | Destination UE content folder for the imported asset(s) (e.g. "/Game/Meshes"). Defaults to "/Game/Imported". | |
| replace_existing | No | When true, overwrite an existing asset at the destination (bReplaceExisting). Defaults to true. |