PackagingResults:Error: Error Unknown Cook Failure

Never ever delete your Config file! You may lose all of your assets and folders in the editor which means you could lost all of your work!

Before doing any deletion process in your project file, ALWAYS duplicate your project in the Epic Launcher and Library section. Then you may able to secure all of your work before doing anything!

1 Like

Keep your project folder on desktop , Keep folder name as short as possible , limit is 260 characters for whole path.It solved my errors in cook stage.

Its a normal error nothing to worry.
Search a MDL folder that show in content browser.
Delete the entire MDL folder and click delete.
After that restart your Project and try to package the game
Now it will build!
Thank you!

problem fixed here : Unreal Engine ERROR: Cook failed. - YouTube

For me, it was caused by a plugin. After disabling it, this fixed the problem for me

What happens if you no longer use a tagged object? Wouldn’t you have to untag it? That sounds like a nightmare. Besides, UE can already tell what references what and therefore what is unreferenced

I had this problem and I thought I would reply to this thread to let anyone know my solution in case it works for them…

Anyway I use the source code version of Unreal Engine version 5.5.0 from the Epic Games Github account and what happened is that some how the file UnrealEditor-cmd.exe became corrupted. When you use the source code version of UE you have to build it yourself so after doing this I had 2 copies of the compiled application, one of which I used for development

Somehow the file Engine/Binaries/Win64/UnrealEditor-cmd.exe became corrupted and was a different files size from the original version, they ended up being different file sizes

The fix was to copy 3 files from the original newly compiled folder to the folder I use for game dev, therefore replacing the used files with the original ones

The files were

Engine\Binaries\Win64\UnrealEditor-Cmd.exe

Engine\Binaries\Win64\UnrealEditor-Cmd.exp

Engine\Binaries\Win64\UnrealEditor-Cmd.pdb

Replacing these files with the original newly compiled versions fixed the problem. If you are using the UE version from the launcher and not the source code version then uninstalling and reinstalling the editor would have a similar effect.

Hope this helps