Custom pak file not loaded at start of Android app, while default one is loaded

maxbpm
Mon, 20 Oct 2025 13:55:42 +0000
Platform & Builds

Hello,

I try to package my Unreal project for Unreal. Since the obb became too big and I do not plan to use Google Playstore for now, I tried putting all in one big (test) pak for now. So the plan is to have an apk, an obb and my pak. Packaging worked fine, I can see the pak correctly created in StagedBuilds folder and also mentioned in Manifest_UFSFiles_Android.txt what I think is correct. I copied them to the device via AFS (like obb is copied in the default install bat):

@echo Installing new data. Failures here indicate storage problems (missing SD card or bad permissions) and are fatal.
%AFS% %DEVICE% -p com.YourCompany.A2RacerMVP -k 02AED46243ACE38E9526AFA5A90A3C47 push main.1.com.YourCompany.A2RacerMVP.obb “^mainobb”

%AFS% %DEVICE% -p com.YourCompany.A2RacerMVP -k 02AED46243ACE38E9526AFA5A90A3C47 mkdir "^game/Paks"
%AFS% %DEVICE% -p com.YourCompany.A2RacerMVP -k 02AED46243ACE38E9526AFA5A90A3C47 push pakchunk111-Android_ASTC.pak "^game/Paks/pakchunk111-Android_ASTC.pak"
%AFS% %DEVICE% -p com.YourCompany.A2RacerMVP -k 02AED46243ACE38E9526AFA5A90A3C47 push pakchunk0-Android_ASTC.pak "^game/Paks/pakchunk0-Android_ASTC.pak"
%AFS% %DEVICE% -p com.YourCompany.A2RacerMVP -k 02AED46243ACE38E9526AFA5A90A3C47 push pakchunk111optional-Android_ASTC.pak "^game/Paks/pakchunk111optional-Android_ASTC.pak"

It seems all to work. Still, when starting the game, my files are not found (map not found, gamemode not found, literarrly all not found in logcat). In logcat I can see, that pakchunk0 (the default one?) is found and loaded ([2025.10.20-07.56.28:460][ 0]LogPakFile: New pak file A2RacerMVP/Content/Paks/pakchunk0-Android_ASTC.pak added to pak precacher.) , while my file (pakchunk111) is ignored. Idk what the optional one is which was created as well. Nevertheless, I cannot udnerstand why pakchunk0 (which I copy exactly the same way) is found and used, which mine is not. Do the custom ones need to be somewhere else or anything?

Beware, I try not to manual load them, I want UE to load them automatically at start as all files.

Thanks for any hint, it would be a life saver!

1 post - 1 participant