Skip to content
Jigwright

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_assetWriteDestructive

Arguments

NameTypeDescription
objectreqstringAsset path to delete. Must be under /Game/.
delete_referencedboolean
= 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.

Also in Asset lifecycle: