Of course, Addressable provide customization for all of its core via interface, but it requres re-writing whole class even you need tiny additional feature only.
It is best that Addressable provides some virtual funtions like these:
Hi, thanks for reaching out with this suggestion. We are in the process of changing the way group processors function and are customized. This should make it much easier for users to add encryption. This change won’t be out for a while, but I’m adding a note to make sure we provide a clear encryption point.
Thanks,
Bill
Is there any example on how to do the encryption right now, with the systems place in current addressables package?
Or simply just some info on where to hook the changes?
I tried searching around and I mostly see people asking how to do the thing but no actual replies to those.
I didn’t actually try this but I imagine it would go like :
In build script you would see a list of IBuildTask being assembled.
WriteSerializedFiles() and ArchiveAndCompressBundles() has its own file you could look. After ArchiveAndCompressBundles() the bundles should be ready in the temp build folder, before being copied to your game’s StreamingAssets folder.
You could try addding a new IBuildTask around here before it is copied.
You need a new variation of AssetBundleProvider that understand your encryption. Then in your group’s provider drop down select your new provider.