Addressables can generate data that's useful during the build, but not afterwards. This data can then be cleared with the IDataBuilder.ClearCachedData method. It can be called via a menu item in the editor, but it can be called in scripts as well.
I'd like Trimmer's OptionBuildAddressables to optionally call this method after a build. I say optionally because if the build goes wrong, these intermediate files can help with debugging.
Uh oh, I misunderstood the purpose of IDataBuilder and fucked this up. The code I submitted, as written, will likely delete the runtime Addressables directory. My bad. I'm fixing this now.
Addressables can generate data that's useful during the build, but not afterwards. This data can then be cleared with the
IDataBuilder.ClearCachedData
method. It can be called via a menu item in the editor, but it can be called in scripts as well.I'd like Trimmer's
OptionBuildAddressables
to optionally call this method after a build. I say optionally because if the build goes wrong, these intermediate files can help with debugging.