It seems to me that replacing files in the audio bin appears to replace them at first glance… but then when you actually open up the audio asset folder, the file is just added, not replaced. This is causing major file size bloat. Is there a quick way to clear out all of the unused versions? Along these lines, is there a simple way to convert to a project to a shared audio source directory to avoid this issue altogether?
Thanks for your help as always!
As you may have guessed, the duplicate files are there to support undoing of asset replacement. Unfortunately, we have yet to implement the “clean up unused files” option in Studio, and the only way to convert a project to using a shared audio source directory for its files is to perform a replacement of all of its assets.
If you don’t want to do that, then the only option is to delete the obsolete files manually. You can get the full path and filename of the assets listed in Studio’s Audio Bin window by dragging them into the search bar, or into a text editor such as notepad++; This will allow you to easily identify the assets currently in use in your project so you can know which not to delete. (Incidentally, you can also type ##unused in the search bar to bring up a list of assets that aren’t used in any events, which can be handy if you’re looking for content to delete.)
You’re probably already aware of this, but only audio files used in events are included in a built project’s banks, so unused audio files won’t bloat out your game, even if they are inconvenient to work with.
Great, thanks so much for the info!
“Unfortunately, we have yet to implement the “clean up unused files” option in Studio…”
Any idea if this is planned at any point in the near future? Would be extremely helpful for our team to reduce iterative clutter.