To exclude individual assets, follow these steps:
Create a Data Asset instance based on the PrimaryAssetLabel class inside the mod folder.
- Set the priority higher than zero.
- Select Never Cook in Cook Rule.
Add assets to the Explicit Assets or Explicit Blueprints array. The specified assets will not be cooked and will not be included in the .pak file.
To exclude a folder with assets, follow these steps:
- Create a Data Asset instance based on the PrimaryAssetLabel class inside the mod folder.
- Set the priority higher than zero.
- Select Never Cook in Cook Rule.
- Select the Apply Recursively and Label Assets in My Directory checkboxes. All the assets from this folder will not be cooked and will not be included in the .pak file.
NOTE
You can use a single PrimaryAssetLabel to exclude both a specific folder and individual assets.