Delete Asset
Permanently delete an asset. REFUSES by default if anything still references it, because deleting a referenced asset breaks whatever pointed at it and the damage does not surface until that other asset is loaded. This is NOT undoable - confirm with the user before calling it.
hf_delete_assetWriteDestructiveArguments
| Name | Type | Description |
|---|---|---|
objectreq | string | Asset path to delete. Must be under /Game/. |
delete_referenced | boolean = false | Delete even when other assets reference this one. Those references will break. Only pass this when you have shown the user the referencer list and they accepted it. |
Related tools
Also in Asset lifecycle: