# I Keep Getting Unknown Cook Errors and at a Loss of What to Do

**URL:** <https://forums.unrealengine.com/t/i-keep-getting-unknown-cook-errors-and-at-a-loss-of-what-to-do/549681>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Packaging, packaging-projects, UE4, question\
**Created:** [May 5, 2022, 3:38pm UTC](https://forums.unrealengine.com/t/i-keep-getting-unknown-cook-errors-and-at-a-loss-of-what-to-do/549681 "2022-05-05T15:38:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3e442106](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3e442106](https://forums.unrealengine.com/u/anonymous_user_3e442106)\
**Post date:** [May 5, 2022, 3:38pm UTC](https://forums.unrealengine.com/t/i-keep-getting-unknown-cook-errors-and-at-a-loss-of-what-to-do/549681/1 "2022-05-05T15:38:10Z")

</div>

I’d appreciate it if anyone could help me out here.

I’ve been working on this small game for a university project for a few days and finished it yesterday. I went to package it, but I’m getting an unknown cook error. I’m not sure why I’m getting as everything appears to be fine when played through the editor. I altered the settings as they should be, maps have been correctly assigned, lighting individually built, but nothing is working.

I’ve only just begun using UE4 properly, so I’m technically a novice, hence my confusion here.

Here’s a link underneath for it. Hopefully, it’s viewable.

_(Removed non-functioning link)_

Above is the error log. Apologies about the wall of text. I would have attached something, but apparently that’s out of the question for new users, even though I’ve had this account for a little over a year, but whatever.

I hope this can get sorted and thank you in advance.

---

<div class="post-metadata">

**Author:** ![Quetzalcodename](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quetzalcodename](https://forums.unrealengine.com/u/Quetzalcodename)\
**Post date:** [May 5, 2022, 4:38pm UTC](https://forums.unrealengine.com/t/i-keep-getting-unknown-cook-errors-and-at-a-loss-of-what-to-do/549681/2 "2022-05-05T16:38:38Z")

</div>

Hi @anonymous_user_3e442106! Looks like you posted a link to a file located locally on your PC. If you could post your log I am sure it would shed more light on your situation. In the meantime, I would check your .ini files and see if you have duplicate values, and also check and make sure you don’t have a plugin’s folder for both your project and your engine.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3e442106](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3e442106](https://forums.unrealengine.com/u/anonymous_user_3e442106)\
**Post date:** [May 5, 2022, 5:16pm UTC](https://forums.unrealengine.com/t/i-keep-getting-unknown-cook-errors-and-at-a-loss-of-what-to-do/549681/3 "2022-05-05T17:16:41Z")

</div>

Well, I’m an idiot 😂

I’ll have to do it by linking a post on my OneDrive since I can’t attach images for some reason:

[Error Log](https://1drv.ms/t/s!Am5ORrSIkbivanwaeZZPpSyx1xI?e=R6I5QE)

Hopefully, it’s viewable that way.

---

<div class="post-metadata">

**Author:** ![Quetzalcodename](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quetzalcodename](https://forums.unrealengine.com/u/Quetzalcodename)\
**Post date:** [May 5, 2022, 5:43pm UTC](https://forums.unrealengine.com/t/i-keep-getting-unknown-cook-errors-and-at-a-loss-of-what-to-do/549681/4 "2022-05-05T17:43:36Z")

</div>

Alright, @anonymous_user_3e442106, after talking a look you have another error further up you have an error with your OVRPlugin.dll via Failed to load ‘OVRPlugin.dll’ (GetLastError=126). This would cause an Unknown Cook Failure. I found a [similar feed](https://forums.unrealengine.com/t/build-failed-with-ovrplugin-error/406224/2) with a fix that may work for you!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3e442106](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3e442106](https://forums.unrealengine.com/u/anonymous_user_3e442106)\
**Post date:** [May 5, 2022, 6:19pm UTC](https://forums.unrealengine.com/t/i-keep-getting-unknown-cook-errors-and-at-a-loss-of-what-to-do/549681/5 "2022-05-05T18:19:09Z")

</div>

I followed the link and it lead to a rabbit hole of topics talking about icons not working. I haven’t altered any icons, all that I’ve done is create three levels. Also, links that seem to provide fixes for the issues mentioned lead to a 404 Error page. I may have overlooked something (wouldn’t put it passed me, really). I also haven’t made a VR game (one of the links mentioned VR); my game is just a simple horror walking sim, if you will, to demonstrate whether sound aids with the immersion of horror games. I didn’t even know I had such a plugin and I haven’t found it in my file explorer. Would that be the issue? If so, how would I go about disabling OVR, or whatever it is? My game isn’t VR based, so why the engine is trying to integrate it, I have no idea.

Sorry if I sound daft.

EDIT: I did some digging and found a topic here that was very similar to mine.

[“Can someone please help me troubleshoot this Packaging Failed message log?” thread](https://forums.unrealengine.com/t/can-someone-please-help-me-troubleshoot-this-packaging-failed-message-log/491395)

Their project doesn’t utilise Oculus, yet it’s throwing that error. Unfortunately, the thread never got responded to, so I’m back to square one.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3e442106](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3e442106](https://forums.unrealengine.com/u/anonymous_user_3e442106)\
**Post date:** [May 5, 2022, 7:46pm UTC](https://forums.unrealengine.com/t/i-keep-getting-unknown-cook-errors-and-at-a-loss-of-what-to-do/549681/6 "2022-05-05T19:46:17Z")

</div>

Okay, so I decided to go into Edit-\>Plugins, searched for VR in the search box and disabled OculusVR. I tried to package again and it was a failure yet again. Checked the log, filtered out the Messages and saw these:

> LogMagicLeap: Warning: VR disabled because ZI is not enabled. To enable, in the editor, Edit → Project Settings → Plugins → Magic Leap Plugin → Enable Zero Iteration  
> PackagingResults: Error: Unable to compile source files.  
> PackagingResults: Error: Unknown Error  
> LogStaticLightingSystem: Warning: No importance volume found, so the scene bounding box was used. You can optimize your scene’s quality and lighting build times by adding importance volumes.  
> PackagingResults: Error: Unable to compile source files.  
> PackagingResults: Error: Unknown Error

What does all of this mean and how do I rectify it?
