A simple script to help you delete unused assets in unreal content
This code identifies and deletes unused assets from a specified folder by checking if each asset has any references. If an asset has no dependencies, it is deleted and logged in the console.
simple UI button to trigger the script
Be careful with using it I just delete half of my projects by accident!
Python to Unreal Documentation: https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/?application_version=5.4