Cook Failure

When I try to package my project, it fails with this message: PackagingResults:Error: Error Unknown Cook Failure.

I have pasted the log to .txt file. There are many warnings but which exactly can be preventing the success of packaging?

link text

Hi tongucci,

  • What device are you packing for?
  • Is this a shipping or development build?
  • What steps are you taking to package your project?
  • Is this a c++ or blueprints project?

Hi,

  • I am packing for Windows (tried both 64 bit and 32 bit, same result).
  • Development build.
  • I’m clicking File Menu - Package Project - Windows - 64-bit (or 32)
  • It is a blueprints project.

Something important:
There is Caves asset package in my project and when I package the latest backup (I make backups everyday) before adding that package to my project, it successes packaging.

Also can be important, I also tried:
Create a new first person project from scratch with no starter content, packaged it, it was successful, just added Caves asset package to my project, then tried to package my project, failed and gave me the result that now I am attaching.link text

Same issue happens when creating a new project in 4.8 or 4.10 and adding Caves to project. I’m sending their logs by here.

link text

link text

Hello Tongucci,

from the cavepack here.
The warning states this:

“MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.12.17-10.44.29:235][ 0]LogLinker:Warning: Asset ‘…/…/…/…/…/…/Users/Tonguc/Documents/Unreal Projects/test2/Content/LuosCaves/Meshes/Props_Nopal_rocks/SM_LCave_P_Free2_Nopal_Rock_45.uasset’ has been saved with engine version newer than current and therefore can’t be loaded. CurrEngineVersion: 4.9.2-2707645+++depot+UE4-Releases+4.9 AssetEngineVersion: 4.10.0-2758231+++depot+UE4-Releases+4.10”

Meaning the version of the cave you used, was newer than the engine version you used.

Looking at the 4.10.1 build log, I found this error:

" Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Runtime\Core\Public\Serialization\Archive.h] [Line: 96]
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: FMemoryWriter does not support data larger than 2GB. Archive name: C:/Users/Tonguc/Documents/Unreal Projects/test4101/Content/Maps/LCaves_Mesh_Showcase.umap."

And, I dont know what that problem is. Since you dont need the showcase map, you could delete it.
But I am sure someone else can explain why the error occurs.
It should not have anything to do with the cave pack itself.

Thanks . I created new 4.10 project and added Caves, then deleted all showcase maps. Only then packaging was successful. Even deleting showcase maps on a 4.9 project didn’t make it so. Now I will migrate my actual project to 4.10 and try again.

I have migrated my project to 4.10.1. Deleted all the showcase maps from content. Then tried to package my project for Windows 64 bit. Failed again. Here is the log.

link text

Hello Tongucci,
If you press “CTRL + F” in that log, you can find the following error:

*LogBlueprint:Error: [compiler FirstPerson_AnimBP] Error Play FirstPerson_Idle references sequence that uses different skeleton FirstPerson_Skeleton *

So in this case its a skeleton related error.

I have migrated my level to a new 4.10 project and finally packaged. The issue obviously has nothing to to with Caves package. Still you helped me , thanks a lot!