Using Primary Asset Labels to cook and package unreferenced assets

Hello,

My current project uses Primary Asset Labels to place files into their respective chunks. Some of our assets will be called exclusively in code and therefore will not be referenced by anything in editor, these assets are not getting packaged. Adding the directories where those particular assets are in to “DirectoriesToAlwaysCook” is out of the question. I looked at creating a Primary Asset Label set to “Always” cook and to explicitly add then. The strange part is looking in Asset Auditor, the assets are being packed into their respective chunk, but when I create a package(via AutoamationTool), the log files do not appear to be packing the file.

Is there anything I am missing?

Thank you in advanced.

1 Like