How to suppress compression on custom asset type?
We have a custom audio asset type that stores audio sample data in OGG format within the asset. Is it possible to somehow override the packaging settings on a per asset basis, to prevent the asset being compressed even if the user has enabled 'Compress Cooked Packages'?
asked Oct 27 '16 at 12:20 PM in Packaging & Deployment
There is no way currently to control this through an in editor setting or preference, however if you modify the WritePakResponseFile function in CopyBuildToStagingDirectory.automation.cs you can choose which files get compressed or not.
This is the only way to currently control what gets compressed/uncompressed when adding to a .pak file and using the packaging settings aforementioned.
answered Oct 31 '16 at 06:59 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here