x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4 build Error_UnknownCookFailure

Hi, I can play my project in the editor perfectly. But when i try to build it, i got build error which prevent me to do it. Strange error like failed to load this file or this file. But UE4 is looking to the correct path. I've checked all my blueprint to see if there was an error inside, but unreal doesn't detect any. Here is my build logs: link text

I've also tried to remove the binaries, save and intermediate file but without results. If you have any idea, Thanks in advance.

EDIT: I also run a checkmap on each level and i didn't get any error (except i need to rebuild light on one or two level)

Product Version: UE 4.14
Tags:
log.txt (294.9 kB)
more ▼

asked Feb 21 '17 at 11:08 AM in Packaging & Deployment

avatar image

Zetfire
5 4 6 8

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi Zetfire,

You are experiencing an ensure error;

 UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.21-10.59.18:561][  0]LogOutputDevice:Error: Ensure condition failed: AttachmentRules.LocationRule == EAttachmentRule::KeepRelative && AttachmentRules.RotationRule == EAttachmentRule::KeepRelative && AttachmentRules.ScaleRule == EAttachmentRule::KeepRelative [File:D:\Build\++UE4+Release-4.14+Com
 pile\Sync\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp] [Line: 1603]
 UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.21-10.59.18:571][  0]LogOutputDevice:Error: AttachToComponent when called from a constructor is only setting up attachment and will always be treated as KeepRelative. Consider calling SetupAttachment directly instead.

You are setting an attachment rule to some component that the engine doesn't like you doing (doesn't state which component).

Hope that helps. Cheers,

more ▼

answered Feb 21 '17 at 01:32 PM

avatar image

project.gheist
1.6k 22 10 49

avatar image Zetfire Feb 21 '17 at 03:54 PM

Thanks it was the problem indeed, i had two attachto in some cpp constructor. I just replace them with setupAttachment. But do you have any idea why i still have a lot of warning saying cannot find this or this asset?

avatar image project.gheist Feb 21 '17 at 04:02 PM

Not really, could be a multitude of reasons

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question