4.10 PackagingResults:Error: Error Unknown Cook Failure

Hello. I’m having trouble with packaging this project after migrating it to an empty 4.10.2 project. My steps were these:

  1. Project was originally built on 4.9. I migrated my maps from the 4.9 project to an empty project.
  2. Opened the 4.10 project, imported inputs and collisions from the 4.9 project.

The game is running fine in the editor, but when I try to package it, I get this message sayin “Error Unknown Cook Failure”. When I look for the error in the log, this is all I can find (with the word error on it):

Ensure condition failed: ObservedKeyNames.Num() > 0 [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Runtime\AIModule\Private\BehaviorTree\Decorators\BTDecorator_BlueprintBase.cpp] [Line: 66]

I have no clue what this means, my D: drive is totally empty and was never used with UE4.

I’m getting a bunch of warnings related to moved assets too, but I don’t think that’s the problem because the warnings are followed by “Resolved to (asset location)”

Here’s the log: https://dl.dropboxusercontent.com/u/2739873/Cook-2016.01.28-21.33.01.txt
I see that there’s 2 errors, but I can’t find those errors.

Also, I tried searching for this error here on answerhub and on google, and I’m getting a lot of weird inconclusive information. This seems to be an issue that many people are having on 4.10, so it would be cool to have a final solution if possible.

I also tried creating another empty project and packaging it, and it worked fine. So I’m not sure what is happening.
I had similar issues before, but usually the log says what blueprints are causing the failure.

Thanks,

Bruno

So, apparently this is related to an old blueprint I had called LevelInfo. I removed it on 4.9 and reimported the map to 4.10, but the packaging is still looking for the scripts it referenced. No idea where to go from here.

Hi Bruno

Find this blueprint inside your windows folder and delete it from there.

Sometimes you delete an actor or a folder inside the editor, and they seems to come back when you re-open the project, so it is necessary to delete it from the windows source.

Try and let me know pls

Thanks, I’ll give that a try and report back.

Filipe, I did that and I’m still getting the same errors.

I’m checking that out right now. How do you update all the blueprints?

Hi Bruno

Your log says somethings close to the end of the log:

Seems it can´t find some assets, did you deleted them? try to update all the blueprints.

[2016.01.29-05.32.54:639][ 0]LogInit:Display: LogAnimation:Warning: UAnimMontage::PostLoad: The actual sequence length for montage FireWeaponMontage does not match the length stored in the asset, please resave the montage asset.
[2016.01.29-05.32.54:639][ 0]LogInit:Display: LogAnimation:Warning: UAnimMontage::PostLoad: The actual sequence length for montage IvyRoll_Montage does not match the length stored in the asset, please resave the montage asset.
[2016.01.29-05.32.54:640][ 0]LogInit:Display: LogLinker:Warning: Can’t find file ‘/Game/Meshes/SkeletalMesh/Astronaut/AtmosphericRig’
[2016.01.29-05.32.54:640][ 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load ‘/Game/Meshes/SkeletalMesh/Astronaut/AtmosphericRig’: Can’t

I think you will need to open them and recompile, maybe erros will appear showing what is wrong on them

Ok, I’ll try that.

Also, I resaved the mentioned assets, but the AtmosphericRig is something that is long gone.

I opened all of them and recompiled everything, but the issue persists.

sorry for hear that, seems to have something wrong about the behavior tree too…

Sorry for not being able to help you

Thanks for trying to help. I’ll keep looking, and waiting for someone from Epic to answer.

Here’s an updated log: https://dl.dropboxusercontent.com/u/2739873/Cook-2016.01.29-22.55.52.txt

Still no idea where those 2 errors are. They don’t seem to be on the log at all to me.

Update: I figured out that what’s causing the issue is the top down toolkit from the marketplace. Apparently it’s not compatible with 4.10.