# How to prevent Packaging of unneeded Engine Files in 5.3

**URL:** <https://forums.unrealengine.com/t/how-to-prevent-packaging-of-unneeded-engine-files-in-5-3/1329293>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [October 11, 2023, 1:22pm UTC](https://forums.unrealengine.com/t/how-to-prevent-packaging-of-unneeded-engine-files-in-5-3/1329293 "2023-10-11T13:22:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![UDKAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UDKAP](https://forums.unrealengine.com/u/UDKAP)\
**Post date:** [October 11, 2023, 1:22pm UTC](https://forums.unrealengine.com/t/how-to-prevent-packaging-of-unneeded-engine-files-in-5-3/1329293/1 "2023-10-11T13:22:38Z")

</div>

When Packaging my android project I have noticed that Unreal Engine cooks about 2000 Texture files found under “Engine/Content/EngineMaterials/Substrate/”. These seem to be Packaged as well, at least I don’t see them getting excluded. I don’t use Substrate in my project, and deleting them does not affect the project (although I don’t want to remove them as they are Engine files). How can I tell the engine not to cook/pack these and other useless files? Is there a log where I can see exactly which cooked files got packaged in the final .apk?

So far, I have tried creating a DefaultPakFileRules.ini file as suggested by [this](https://forums.unrealengine.com/t/pak-blacklist-file-deprecated-in-favor-of-defaultpakfilerules-ini/153080/5) post, but it does not seem to do anything. Its contents are:

```auto
[ExcludeDefault]
Targets="Shipping,Development,Debug"
bExcludeFromPaks=true
bOverrideChunkManifest=true
+Files=".../Engine/Content/VREditor/*"
+Files=".../Engine/Content/EditorMeshes/Camera/SM_CraneRig_Arm.*"
+Files=".../Engine/Content/EngineFonts/DroidSansMono.*"
+Files=".../Engine/Content/Sequencer/DefaultBurnIn.*"
+Files=".../Engine/Content/Sequencer/DefaultBurnInOptions.*"
+Files=".../Engine/Content/EngineMaterials/Substrate/*"

```

---

<div class="post-metadata">

**Author:** ![UDKAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UDKAP](https://forums.unrealengine.com/u/UDKAP)\
**Post date:** [October 23, 2023, 2:37pm UTC](https://forums.unrealengine.com/t/how-to-prevent-packaging-of-unneeded-engine-files-in-5-3/1329293/2 "2023-10-23T14:37:55Z")

</div>

bump

---

<div class="post-metadata">

**Author:** ![zompi2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zompi2/32/937524_2.png) [@zompi2](https://forums.unrealengine.com/u/zompi2)\
**Post date:** [July 16, 2025, 10:25am UTC](https://forums.unrealengine.com/t/how-to-prevent-packaging-of-unneeded-engine-files-in-5-3/1329293/3 "2025-07-16T10:25:01Z")

</div>

Tested on UE5.5.  
It seems it has problems with going deep into directory structure, so unfortunatelly you have to type all directories as well.  
Tested with this configuration, works well:

```auto
[ExcludeDefault]
bExcludeFromPaks=true
bOverrideChunkManifest=true
+Files=".../Engine/Content/EngineSounds/*"
+Files=".../Engine/Content/Maps/*"
+Files=".../Engine/Content/MobileResources/*"
+Files=".../Engine/Content/MobileResources/HUD/*"
+Files=".../Engine/Content/Tutorial/*"
+Files=".../Engine/Content/Tutorial/SubEditors/*"
+Files=".../Engine/Content/Tutorial/SubEditors/TutorialAssets/*"
+Files=".../Engine/Content/VREditor/*"
+Files=".../Engine/Content/VREditor/LaserPointer/*"
+Files=".../Engine/Content/VREditor/Sounds/UI/*"
+Files=".../Engine/Content/VREditor/TransformGizmo/*"
+Files=".../Engine/Content/VREditor/SnapGrid/*"

```
