Asset Management
Asset Management: Find, list, import, save, duplicate, rename, and delete assets. Unreal Engine 5 command reference with parameters and examples.
Asset Management: Find, list, import, save, duplicate, rename, and delete assets. Unreal Engine 5 command reference with parameters and examples.
35 commands. Each shows its parameters and an example, and has a copyable deep link, so you (or an AI agent) can jump straight to one.
find_assetsSearch the Asset Registry by class, path, and/or name pattern
Searches the Unreal Asset Registry. Supports class shortcuts (material, blueprint, static_mesh, texture, data_table, niagara_system) or full class paths. Returns asset paths, class names, and package info. Use name_pattern for case-insensitive substring matching on asset names.
| Parameter | Type | Required | Description |
|---|---|---|---|
| class_type | string | No | Class shortcut (material, blueprint, static_mesh, texture, data_table, niagara_system) or full class path like PackagePath.ClassName |
| path | string | No | Content path filter (e.g. /Game/Materials, /Game/Blueprints) |
| name_pattern | string | No | Substring match on asset name (case-insensitive) |
| recursive | bool | No | Search subdirectories |
| max_results | int | No | Maximum results to return |
cfa find_assets --class-type material --path /Game/Materials
cfa find_assets --name-pattern "Miner" --max-results 10
cfa find_assets --class-type blueprint --path /Game/Blueprints --recursivelist_assetsList assets in a Content Browser directory
Lists all assets in a Content Browser directory, optionally filtered by class. Simpler than find_assets, use when you know the directory and want to see what's in it.
| Parameter | Type | Required | Description |
|---|---|---|---|
| path | string | No | Content path (e.g. /Game, /Game/Materials) |
| class_filter | string | No | Optional class shortcut filter (material, blueprint, etc.) |
| recursive | bool | No | Search subdirectories |
| filter | string | No | Only assets whose name contains this text |
| max_results | int | No | Most assets listed; the reply gives the total and whether it was cut |
cfa list_assets --path /Game
cfa list_assets --path /Game/Materials --class-filter materialget_asset_infoGet asset metadata (class, package, properties)
Returns metadata about an asset including its class, package path, and basic properties. Use to inspect what type of asset something is before modifying it.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Full content path to the asset |
cfa get_asset_info --asset-path /Game/Materials/M_Baseget_asset_propertiesGet all editable properties of any asset
Returns all editable UPROPERTY values from any asset. Works with materials, blueprints, data assets, etc. For filtered, typed, or nested-path reads prefer describe_object / get_object_property.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Full content path to the asset |
cfa get_asset_properties --asset-path /Game/Materials/M_Baseset_asset_propertySet a single property on any asset
Sets a single UPROPERTY on any asset. Auto-falls back to Blueprint CDO if the asset is a Blueprint. Call save_asset after to persist changes.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Full content path to the asset |
| property_name | string | Yes | Property name or path: Struct.Field, Arr[0], Arr[-] to append, Map[Key] to add or edit one row. See reference/property-paths.md |
| property_value | string | Yes | New property value (as string) |
cfa set_asset_property --asset-path /Game/BP_MyActor --property-name "MaxHealth" --property-value "200.0"find_referencesFind dependents/dependencies of an asset
Finds what assets reference this asset (dependents) or what this asset references (dependencies). Use before deleting an asset to check for broken references.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Full content path to the asset |
| direction | string | No | dependents (what uses this), dependencies (what this uses), or both |
cfa find_references --asset-path /Game/Materials/M_Base --direction dependents
cfa find_references --asset-path /Game/Materials/M_Base --direction bothopen_assetOpen asset in the editor
Opens the asset in its appropriate editor (Material Editor, Blueprint Editor, etc.). Returns window: the title of the window the editor opened in (the main window or one of its own), for take_screenshot --mode window --window.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Full content path to the asset |
cfa open_asset --asset-path /Game/Materials/M_Basesave_assetSave a specific asset to disk
Saves a modified (dirty) asset to disk. Always call after modifying asset properties, materials, blueprints, etc. Data table operations auto-save. A material or material function whose editor is open has its unapplied edits applied first, as the editor's own Save does (applied_editor_edits=true); if those edits do not compile, nothing is saved and the error says so.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Full content path to the asset |
cfa save_asset --asset-path /Game/Materials/M_Basesave_allSave all unsaved (dirty) assets
Saves all modified assets to disk. Use after batch operations instead of saving each asset individually. Replies verdict pass, or pass_with_warnings with not_saved (the packages still dirty after the save, first 20) and not_saved_count when the engine could not write a package; the Output Log gives the reason for each.
cfa save_allreload_assetReload an asset from disk, discarding in-memory edits
Reloads one asset's package from disk the same way the editor does (UPackageTools::ReloadPackages). Use this when the in-memory copy is wrecked (empty widget tree, TRASH_* leftovers) but the .uasset on disk is still good. Dirty packages refuse unless --discard=true, which answers the editor's own 'reload and revert changes?' prompt as yes. Closes any open editor for the asset first so the reload is not sitting on a stale tab.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Full content path to the asset |
| discard | bool | No | Reload even if dirty, reverting in-memory changes to the on-disk file |
cfa reload_asset --asset-path /Game/UI/WBP_Menu --discard=true
cfa close_asset --asset-path /Game/UI/WBP_Menuclose_assetClose the asset editor without killing the editor process
Closes every open editor tab for this asset (UAssetEditorSubsystem::CloseAllEditorsForAsset). Default leaves in-memory dirty state alone so a later reload_asset --discard can restore disk. Pass --save=true to persist first. A material or material function editor keeps its edits on a working copy until Apply: closing applies them to the asset first (editor_edits=applied), the same as answering Yes to the editor's own prompt, and --discard=true drops them instead. If those edits do not compile the editor is left open and the reply says so. The reply is an error whenever an editor is still open afterwards.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Full content path to the asset |
| save | bool | No | Save the asset before closing its editor |
| discard | bool | No | Material and material function editors only: drop the edits the editor has not applied to the asset, instead of applying them |
cfa close_asset --asset-path /Game/UI/WBP_Menudelete_assetDelete an asset or directory (checks references)
Deletes an asset from the Content Browser. By default checks for references first and refuses if other assets depend on it. Use --force to bypass. Also works on directories.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Full content path to the asset or directory |
| force | bool | No | Force delete even with references |
cfa delete_asset --asset-path /Game/Materials/M_OldMaterial
cfa delete_asset --asset-path /Game/Materials/M_OldMaterial --forceduplicate_assetCopy an asset to a new location
Creates a copy of an asset at a new location with a new name. The copy is independent, changes to one don't affect the other.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source_path | string | Yes | Source asset path |
| dest_path | string | Yes | Destination directory path |
| dest_name | string | Yes | New asset name |
cfa duplicate_asset --source-path /Game/Materials/M_Base --dest-path /Game/Materials --dest-name M_BaseCopyrename_assetRename/move an asset (auto-fixes references)
Renames or moves an asset to a new path. Automatically updates all references across the project. Safer than manual move.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source_path | string | Yes | Current asset path |
| dest_path | string | Yes | New asset path (full path including new name) |
cfa rename_asset --source-path /Game/Materials/M_Old --dest-path /Game/Materials/M_Newget_import_optionsList every setting the import dialog shows for a file, before importing it
Says which importer File > Import uses for a file (Interchange with its pipeline stack, or the file's factory such as SoundFactory or CSVImportFactory) and lists every setting its import dialog shows, read from the engine by reflection: '<pipeline>.<path> (type) = value [enum choices]'. Covers FBX, glTF/GLB, OBJ, USD, textures, sounds, CSV, fonts and any other format the editor imports. Pass any setting to import_asset as --options '{"<path>": value}'; the first part can be left out when only one pipeline has the setting.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source_file | string | Yes | File on disk to import |
| importer | string | No | auto (default), interchange, legacy, or a factory class name such as CSVImportFactory |
| filter | string | No | Only settings whose path contains this text |
| max_results | int | No | Most settings listed (1-500); the count stays exact |
cfa get_import_options --source-file C:/Art/Hero_Run.fbx --filter Animation
cfa get_import_options --source-file C:/Art/Data.csv
cfa get_import_options --source-file C:/Art/Rock.fbx --importer legacyimport_assetImport a file with any import-dialog setting, and check what it made
Imports a file as File > Import does: Interchange when it reads the file, else the file's factory (the editor's own choice; --importer forces one). --options sets any setting get_import_options lists, as JSON {path: value}; --skeleton gives an animation or skeletal mesh its skeleton (every skeleton setting the importer has). The reply lists every asset made with its class, the importer's errors and warnings, a skeleton check, and a verdict. A wrong setting name refuses before anything is imported.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source_file | string | Yes | Full filesystem path to the external file |
| destination_path | string | Yes | Content Browser destination directory |
| destination_name | string | No | Asset name (defaults to filename without extension) |
| replace_existing | bool | No | Replace existing asset if name conflicts |
| options | json | No | Import settings as {path: value}, paths as get_import_options prints them |
| skeleton | string | No | Skeleton asset for animations and skeletal meshes |
| importer | string | No | auto (default), interchange, legacy, or a factory class name |
| save | bool | No | Save the new assets |
cfa import_asset --source-file C:/Art/Hero_Run.fbx --destination-path /Game/Hero/Anims --skeleton /Game/Hero/SK_Hero
cfa import_asset --source-file C:/Art/Rock.glb --destination-path /Game/Props --options '{"bBuildNanite": false, "bImportMaterials": false}'
cfa import_asset --source-file "C:/Art/texture.png" --destination-path /Game/Textures --destination-name T_MyTextureimport_assets_batchBatch import files with shared import settings
Imports many files at once: a JSON array of paths, or a source_directory searched recursively with an extension filter. Each file gets the importer the editor picks for it; --options and --skeleton apply wherever that importer has the setting, and settings a file's importer lacks are listed as skipped. One row and verdict per file.
| Parameter | Type | Required | Description |
|---|---|---|---|
| destination_path | string | Yes | Content Browser destination directory |
| files | json | No | JSON array of file paths to import |
| source_directory | string | No | Directory to scan for files (alternative to --files) |
| extensions | json | No | JSON array of file extensions to include when scanning directory |
| replace_existing | bool | No | Replace existing assets |
| options | json | No | Import settings as {path: value}, applied where a file's importer has them |
| skeleton | string | No | Skeleton asset for every animation and skeletal mesh |
| importer | string | No | auto (default), interchange, legacy, or a factory class name |
| save | bool | No | Save the new assets |
cfa import_assets_batch --destination-path /Game/Textures --source-directory "C:/Art/Textures" --extensions '["png","jpg"]'
cfa import_assets_batch --destination-path /Game/Hero/Anims --source-directory C:/Art/HeroAnims --extensions '["fbx"]' --skeleton /Game/Hero/SK_Heroget_export_optionsList the file formats an asset exports to and the export dialog's settings
Lists every file format the editor can write an asset as (fbx, obj, gltf, glb, png, tga, wav, t3d, copy...) with the exporter for each, and every setting the chosen format's export dialog shows (the FBX and glTF export options), read from the engine: '<options>.<path> (type) = value [choices]'. Pass any of them to export_asset_file as --options.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Asset to export |
| format | string | No | fbx, obj, gltf, glb, png, wav... (default: the asset's preferred format) |
| filter | string | No | Only settings whose path contains this text |
| max_results | int | No | Most settings listed (1-500); the count stays exact |
cfa get_export_options --asset-path /Game/Hero/Anims/AS_Run --format fbx
cfa get_export_options --asset-path /Game/Props/SM_Rock --format glb --filter Textureexport_asset_fileWrite an asset to an FBX, OBJ, glTF, PNG, WAV or other file, with export settings
Writes an asset to a file as Asset Actions > Export does; the file's extension picks the exporter (the editor's own choice). --options sets any setting get_export_options lists, as JSON {path: value}. The reply has the bytes written, the exporter's errors and a verdict. An exported FBX imports back with import_asset, for a round trip.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Asset to export |
| file_path | string | Yes | File to write; the extension picks the exporter |
| options | json | No | Export settings as {path: value}, paths as get_export_options prints them |
cfa export_asset_file --asset-path /Game/Hero/Anims/AS_Run --file-path C:/Out/AS_Run.fbx
cfa export_asset_file --asset-path /Game/Props/SM_Rock --file-path C:/Out/SM_Rock.glb
cfa export_asset_file --asset-path /Game/Hero/SK_Hero --file-path C:/Out/SK_Hero.fbx --options '{"bASCII": true}'get_selected_assetsGet currently selected Content Browser assets
Returns the assets currently selected in the Content Browser panel. Useful for operating on whatever the user has selected in the editor.
cfa get_selected_assetssync_browserNavigate Content Browser to show an asset
Scrolls the Content Browser to show and highlight a specific asset. Use to direct the user's attention to an asset after creating or modifying it.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Asset path to navigate to |
cfa sync_browser --asset-path /Game/Materials/M_NewMaterialexport_texture_imageWrite a texture's pixels to a PNG
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Texture asset path |
| file_path | string | No | PNG path (default Saved/CodeFizzEditorAgent/Images/<name>.png) |
| max_size | int | No | Longest side in pixels (0 = full size) |
cfa export_texture_image --asset-path /Game/Textures/T_Rock_D --max-size 512
cfa export_texture_image --asset-path /Game/UI/T_Logo --file-path C:/Shots/logo.pngexport_asset_thumbnailWrite any asset's thumbnail to a PNG
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Asset path |
| file_path | string | No | PNG path (default Saved/CodeFizzEditorAgent/Images/<name>_thumbnail.png) |
| render | bool | No | Render a fresh thumbnail instead of reading the saved one |
| size | int | No | Rendered size in pixels, 64 to 1024 |
cfa export_asset_thumbnail --asset-path /Game/Props/SM_Barrel
cfa export_asset_thumbnail --asset-path /Game/Materials/M_Water --render --size 512list_unsaved_assetsList the levels and assets that are not saved yet
Lists what File > Save All would save: dirty levels (maps) and dirty content packages, each as path (Class), with exact counts. all_saved is true when nothing is waiting. Check it before quit_editor, packaging, or tests that load maps, then save_all or save_asset.
| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | No | Only packages whose path contains this text |
| max_results | int | No | Most packages listed per kind |
cfa list_unsaved_assets
cfa list_unsaved_assets --filter /Game/Charactersset_asset_metadataSet or remove an asset's metadata tags
Writes metadata tags (name to value) into an asset's package, or removes them, and reads them back with a verdict. The asset is left unsaved; save_asset or save_all keeps the change. Good for review state, ownership or pipeline notes.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | Asset path |
| set | json | No | JSON object of tag name to value |
| remove | json | No | JSON array of tag names to remove |
cfa set_asset_metadata --asset-path /Game/Props/SM_Barrel --set '{"Owner":"Art","Status":"Final"}'
cfa set_asset_metadata --asset-path /Game/Props/SM_Barrel --remove '["Status"]'list_collectionsList Content Browser collections, or the assets in one
Lists the Content Browser collections as "Name (Local|Private|Shared) N assets", or with --name the asset paths in that collection.
| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | No | Only collections whose name contains this text |
| name | string | No | List the assets of this collection |
| max_results | int | No | Most rows listed |
cfa list_collections
cfa list_collections --name Hero_Propscreate_collectionCreate a Content Browser collection
Creates a static collection. --share Local (default) stays on this machine; Private and Shared are written for source control (Shared is seen by the whole team).
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Collection name |
| share | string | No | Local (default), Private or Shared |
cfa create_collection --name Hero_Props --share Sharedset_collection_assetsAdd assets to a collection, or remove them
Adds assets to a Content Browser collection (or removes them with --remove) and reads the collection back: the verdict checks every asset is in it, or out of it.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Collection name |
| assets | json | Yes | JSON array of asset paths |
| remove | bool | No | Remove the assets instead of adding them |
cfa set_collection_assets --name Hero_Props --assets '["/Game/Props/SM_Barrel","/Game/Props/SM_Crate"]'
cfa set_collection_assets --name Hero_Props --assets '["/Game/Props/SM_Crate"]' --removedelete_collectionDelete a Content Browser collection
Deletes a collection; the assets in it are not touched.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Collection name |
cfa delete_collection --name Old_Propscreate_string_tableCreate a string table for localized UI text
Creates a string table asset (keys to source texts, which widgets and Blueprints can reference so the text is localized) with a namespace (default the asset name), and saves it.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | New asset path |
| namespace | string | No | Localization namespace (default the asset name) |
cfa create_string_table --asset-path /Game/Localization/ST_UI --namespace UIget_string_tableRead a string table's entries
Reads a string table: its table id, namespace and entries as "key = text" sorted by key, filtered by key or text.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | String table asset path |
| filter | string | No | Only entries whose key or text contains this text |
| max_results | int | No | Most entries listed |
cfa get_string_table --asset-path /Game/Localization/ST_UI
cfa get_string_table --asset-path /Game/Localization/ST_UI --filter Menu.set_string_table_entriesAdd, change or remove string table entries
Adds or changes entries (key to source text), removes keys and sets the namespace, as one undo step the way the String Table editor does, then reads every change back with a verdict.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | String table asset path |
| entries | json | No | JSON object of key to source text |
| remove | json | No | JSON array of keys to remove |
| namespace | string | No | New namespace |
cfa set_string_table_entries --asset-path /Game/Localization/ST_UI --entries '{"Menu.Play":"Play","Menu.Quit":"Quit"}'
cfa set_string_table_entries --asset-path /Game/Localization/ST_UI --remove '["Menu.Old"]'import_string_tableReplace a string table's entries from a CSV file
Imports a CSV with a header row holding Key and SourceString columns (other columns become entry metadata, e.g. Comment), as the String Table editor's import does: it replaces every entry. One undo step.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | String table asset path |
| file | string | Yes | CSV file path |
cfa import_string_table --asset-path /Game/Localization/ST_UI --file C:/Loc/ui.csvvalidate_string_tableVerdict: is a string table ready for localization?
Checks a string table and returns pass, pass_with_warnings or fail. Errors: an empty namespace, a key with leading or trailing spaces. Warnings: no entries, an empty text, the same text under two keys.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_path | string | Yes | String table asset path |
cfa validate_string_table --asset-path /Game/Localization/ST_UI