# PackagingResults: Error: Cook failed

**URL:** <https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, Android, question\
**Created:** [September 14, 2022, 12:36pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570 "2022-09-14T12:36:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuBuSniper](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lubusniper/32/571326_2.png) [@LuBuSniper](https://forums.unrealengine.com/u/LuBuSniper)\
**Post date:** [September 14, 2022, 12:36pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/1 "2022-09-14T12:36:25Z")

</div>

hello please, how can I fix this error?  
**PackagingResults: Error: Cook failed.**

full output log  
[https://justpaste.it/4otmf](https://justpaste.it/4otmf)

i’m trying for weeks please help ):

---

<div class="post-metadata">

**Author:** ![LuBuSniper](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lubusniper/32/571326_2.png) [@LuBuSniper](https://forums.unrealengine.com/u/LuBuSniper)\
**Post date:** [September 14, 2022, 12:45pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/2 "2022-09-14T12:45:03Z")

</div>

Anyone?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [September 14, 2022, 12:46pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/3 "2022-09-14T12:46:25Z")

</div>

Check

> [@Warning of Missing Class When Starting Any Project in UE5](https://forums.unrealengine.com/t/warning-of-missing-class-when-starting-any-project-in-ue5/520889/3):
>
> Same for me, I think it may have something to do with all the plugins all disabled. But I’m not sure which one it was.

Seems someone has a similar problem when cooking.  
The user Light\_Shock mentions

“I think that this is a bug in one of the blueprints that ships with Unreal. I changed the levels to cook to only those in my game (thereby excluding first person map etc.) and the issue cleared. The settings are in Projects \ packaging \ list of maps to include in packaged build.”

This is mainly in regard to the error "Mount point: ‘root:/’ is not mounted to a valid Root Path "

---

<div class="post-metadata">

**Author:** ![LuBuSniper](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lubusniper/32/571326_2.png) [@LuBuSniper](https://forums.unrealengine.com/u/LuBuSniper)\
**Post date:** [September 14, 2022, 1:00pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/4 "2022-09-14T13:00:38Z")

</div>

it doesn’t work ):

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [September 14, 2022, 1:09pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/5 "2022-09-14T13:09:50Z")

</div>

Are you using custom c++ classes? If so are you running the editor compiling it from your project file?

---

<div class="post-metadata">

**Author:** ![christuusgnosis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christuusgnosis](https://forums.unrealengine.com/u/christuusgnosis)\
**Post date:** [September 14, 2022, 1:25pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/6 "2022-09-14T13:25:43Z")

</div>

I don’t see it registering an sdk for android  
you should have sdk 29 or 30

its easier for us to help if you print a screenshot of the log from unreal so we can see the red lines that are errors

---

<div class="post-metadata">

**Author:** ![LuBuSniper](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lubusniper/32/571326_2.png) [@LuBuSniper](https://forums.unrealengine.com/u/LuBuSniper)\
**Post date:** [September 14, 2022, 2:28pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/7 "2022-09-14T14:28:54Z")

</div>

> [@3dRaven](#):
>
> project

[![]( " - YouTube") ](https://www.youtube.com/watch?v=otKd6EoCIho)

I’m a noob, and I really appreciate your helping.  
I forgot that tell you  
the androidsetup.bat always keeps closing IDK why?  
i have no idea what is the problem ):

---

<div class="post-metadata">

**Author:** ![LuBuSniper](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lubusniper/32/571326_2.png) [@LuBuSniper](https://forums.unrealengine.com/u/LuBuSniper)\
**Post date:** [September 14, 2022, 2:29pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/8 "2022-09-14T14:29:34Z")

</div>

[![]( " - YouTube") ](https://www.youtube.com/watch?v=otKd6EoCIho)

I’m a noob, and I really appreciate your helping.  
I forgot that tell you  
the androidsetup.bat always keeps closing IDK why?  
i have no idea what is the problem ):

---

<div class="post-metadata">

**Author:** ![christuusgnosis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christuusgnosis](https://forums.unrealengine.com/u/christuusgnosis)\
**Post date:** [September 14, 2022, 2:52pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/9 "2022-09-14T14:52:47Z")

</div>

ok.  
If you are not sure, you need to have all of these things installed properly for building android.  
android studio 4 from the archives NOT the latest android studio  
in android studio with sdk manager you add  
ndk 21, sdk 29 or 30, comand tools for your sdk plus latest command tools and cmake  
also completely necessary:  
JRE 8 NOT the latest which is 17  
JDK 8 not the latest  
jre runs the jvm that UE Gradle uses to run the tools in android studio, which then uses the ndk and sdk code to build the pkg.

any of those things is not installed and you are not going to build

---

<div class="post-metadata">

**Author:** ![LuBuSniper](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lubusniper/32/571326_2.png) [@LuBuSniper](https://forums.unrealengine.com/u/LuBuSniper)\
**Post date:** [September 14, 2022, 4:58pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/10 "2022-09-14T16:58:16Z")

</div>

> [@christuusgnosis](#):
>
> archives

thank you sooooo much, but i got another erorr!  
the erorr is  
**UAT Not Found**

---

<div class="post-metadata">

**Author:** ![christuusgnosis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christuusgnosis](https://forums.unrealengine.com/u/christuusgnosis)\
**Post date:** [September 14, 2022, 6:13pm UTC](https://forums.unrealengine.com/t/packagingresults-error-cook-failed/648570/11 "2022-09-14T18:13:57Z")

</div>

you don’t need that to install those things  
it will do that  
but  
you can do it yourself  
that tool will only help you dl the ndk and sdk  
which you can do yourself from android studio sdk manager  
ndk 21 and sdk 29 or 30  
you still need the jdk and jre to run the tools in android studio
