Skip to content

Commit 01e2e56

Browse files
authored
Allow PakBlacklist-*.txt files inside Build dir
The PakBlacklist-<BuildConfiguration>.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
1 parent 1489551 commit 01e2e56

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UnrealEngine.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ Binaries/*
5454
# Builds
5555
Build/*
5656

57+
# Whitelist PakBlacklist-<BuildConfiguration>.txt files
58+
!Build/*/
59+
Build/*/**
60+
!Build/*/PakBlacklist*.txt
61+
5762
# Don't ignore icon files in Build
5863
!Build/**/*.ico
5964

0 commit comments

Comments
 (0)