Announcement

Collapse
No announcement yet.

Remove unused assets from project

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [FEATURE REQUEST] Remove unused assets from project

    Would it be possible to have a feature that goes through and removes all unused assets? That would be awesome, thanks :3

    #2
    +1 A nod for 10 characters.

    Comment


      #3
      There is a way to do this already but not automatically.

      Create a new blank project. Then migrate the maps containing the assets you want to keep to that new blank project. That will leave behind any unused assets. I do this all the time and it works well to clean up project folders that have become bloated with unused or out of date assets.

      Comment


        #4
        Python scripting is perfect for this kind of operations.

        Such script will do the job.
        https://github.com/mamoniem/UnrealEd...nusedAssets.py

        Comment


          #5
          That is almost correct. Works when reference count is zero, however there are plenty situations someone is referenced by another thing but in the end that reference chain isn't used in any game level.
          Ideally you'd check if a reference chain is linked to any game level's .umap asset.
          | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

          Comment


            #6
            there is a plugin on the marketplace that does this

            Comment

            Working...
            X