# Unreal Engine 5.3: Unknown cook failure

**URL:** <https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562>\
**Category:** Platform & Builds\
**Tags:** unreal-engine\
**Created:** [June 20, 2024, 5:41pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562 "2024-06-20T17:41:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marios\_Ellinas91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marios\_Ellinas91](https://forums.unrealengine.com/u/Marios_Ellinas91)\
**Post date:** [June 20, 2024, 5:41pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562/1 "2024-06-20T17:41:00Z")

</div>

![20240620_203446](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/9/259cca2c7fc466e2b7e0b2eed7238deda6b9fdc9.jpeg)  
I am trying to package my game in android apk. It’s my first time doing this, I tested on an empty project to make sure everything is ok with the packaging and it’s fine. But when I try to do it in my game it shows me this message. How can I solve it? I

---

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [June 20, 2024, 7:40pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562/2 "2024-06-20T19:40:32Z")

</div>

The second line of your screen shot is reporting at least one error. You should check the entire log for this error message to find what has caused it. Could be caused by issues with a plugin, missing textures or Blueprints with compilation errors.

Maybe you could post your log or the reported error message. The ‘Unknown cook failure’ is just a message that the cook process could not be completed because of previous issues.

---

<div class="post-metadata">

**Author:** ![Marios\_Ellinas91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marios\_Ellinas91](https://forums.unrealengine.com/u/Marios_Ellinas91)\
**Post date:** [June 21, 2024, 4:34am UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562/3 "2024-06-21T04:34:16Z")

</div>

I checked the entire log and i have these errors.

1. LogPlayLevel: Error: UAT: LogAssetRegistryGenerator: Error: Failed to add file C:/Unreal Engine Projects/My Endless Run Game/Eternal Runner/Saved/Cooked/Android\_ASTC/Engine/Content/Animation/DefaultAnimBoneCompressionSettings to paklist ‘…/…/…/…/…/…/Unreal Engine Projects/My Endless Run Game/Eternal Runner/Saved/TmpPackaging/Android\_ASTC/pakchunk0.txt’. The maximum size for a Pakfile is 1500 bytes, but the file to add is 2987 bytes.  
LogPlayLevel: Warning: UAT: LogCook: Warning: Failed to save chunk manifest

2.LogPlayLevel: Error: UAT: LogInit: Display: LogAssetRegistryGenerator: Error: Failed to add file C:/Unreal Engine Projects/My Endless Run Game/Eternal Runner/Saved/Cooked/Android\_ASTC/Engine/Content/Animation/DefaultAnimBoneCompressionSettings to paklist ‘…/…/…/…/…/…/Unreal Engine Projects/My Endless Run Game/Eternal Runner/Saved/TmpPackaging/Android\_ASTC/pakchunk0.txt’. The maximum size for a Pakfile is 1500 bytes, but the file to add is 2987 bytes.  
LogPlayLevel: Warning: UAT: LogInit: Display: LogXGEController: Warning: XGE’s background service (BuildService.exe) is not running - service is likely disabled on this machine.  
LogPlayLevel: Warning: UAT: LogInit: Display: LogHAL: Warning: FGenericPlatformProcess::GetGameBundleId not implemented on this platform  
LogPlayLevel: Warning: UAT: LogInit: Display: LogMaterial: Warning: [AssetLog] C:\Unreal Engine Projects\My Endless Run Game\Eternal Runner\Content\Fantastic\_Village\_Pack\materials\master\_materials\M\_Master\_water.uasset: Failed to compile Material for platform

---

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [June 21, 2024, 5:58am UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562/4 "2024-06-21T05:58:24Z")

</div>

Not sure if this will help, but there is an option in the project settings on packaging that will allow to ‘generate chunks’ of the pak files.

---

<div class="post-metadata">

**Author:** ![Marios\_Ellinas91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marios\_Ellinas91](https://forums.unrealengine.com/u/Marios_Ellinas91)\
**Post date:** [June 21, 2024, 6:13am UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562/5 "2024-06-21T06:13:18Z")

</div>

Yes i have already check this option

---

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [June 21, 2024, 7:47am UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562/6 "2024-06-21T07:47:34Z")

</div>

After some investigaton I foud this post regarding packaging large game files for Android.

> [@How to package UE 4.27 android game for Play Store with aab \<150MB](https://forums.unrealengine.com/t/how-to-package-ue-4-27-android-game-for-play-store-with-aab-150mb/266194/4):
>
> So if someone has the same problem, i would like to inform you that A. you have to enable the Google pundle plugin, B. disable the “package into apk” in project settings → android Select to have as export aab extension. So with this way the packaged \*.aab file can be larger than 150mb, and still play store will accept it. The only warning (but still the app is accepted and published) will be “This App Bundle contains native code, and you’ve not uploaded debug symbols”. Unfortunately i can n…

---

<div class="post-metadata">

**Author:** ![Marios\_Ellinas91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marios\_Ellinas91](https://forums.unrealengine.com/u/Marios_Ellinas91)\
**Post date:** [June 21, 2024, 8:18am UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562/7 "2024-06-21T08:18:56Z")

</div>

Okay thank you i will try it but how can i test my game on my mobile with this way? When I download it to the computer and do the apk copy paste on my mobile, then I’ll have another problem. It asks me for storage permission which is not in the options.

---

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [June 21, 2024, 8:33am UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562/8 "2024-06-21T08:33:50Z")

</div>

Never tried to copy paste the apk. Also I faced an issue running quick preview on the device. Best result is to go to the build folder and run the install .bat file - with the Android device connected and USB dubugging enabled.

Example from one of my testing projects:  
D:\Unreal Projects\LocationServicesTest\Android\_ASTC\Install\_LocationServicesTest-arm64.bat

---

<div class="post-metadata">

**Author:** ![Marios\_Ellinas91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marios\_Ellinas91](https://forums.unrealengine.com/u/Marios_Ellinas91)\
**Post date:** [June 21, 2024, 12:26pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-3-unknown-cook-failure/1910562/9 "2024-06-21T12:26:41Z")

</div>

I did it and i have the same issue…
