From 01e2e5617d317c267deae5e765235fd74f24d6be Mon Sep 17 00:00:00 2001 From: gagallo7 Date: Thu, 9 Mar 2017 10:56:06 -0300 Subject: [PATCH] Allow PakBlacklist-*.txt files inside Build dir The PakBlacklist-.txt is used to disallow some files to be packaged in the pak file. This can be very helpful to reduce pak file size for mobile platforms. To avoid the user-defined blueprint class Debug.uasset located in Content/Blueprints folder to be packaged in shipping build, one has to do the following steps: 1. Create the PakBlacklist-Shipping.txt file in Build/Android directory. 2. Insert the content "../../../MyGameName/Blueprints/Debug.uasset 3. Package the game Source: https://docs.unrealengine.com/latest/INT/Platforms/Android/ReducingAPKSize/#packageblacklist --- UnrealEngine.gitignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UnrealEngine.gitignore b/UnrealEngine.gitignore index 2f096001..6c6e1c32 100644 --- a/UnrealEngine.gitignore +++ b/UnrealEngine.gitignore @@ -54,6 +54,11 @@ Binaries/* # Builds Build/* +# Whitelist PakBlacklist-.txt files +!Build/*/ +Build/*/** +!Build/*/PakBlacklist*.txt + # Don't ignore icon files in Build !Build/**/*.ico