[Bug] Cooking, DerivedDataCache is very slow

I’m using promoted branch:
I try to cook and package Game from template (nothing changes, just created new project from C++ template). Everything is well until I get this:

LogDerivedDataCache:warning: ../../../Engine/DerivedDataCache is very slow (0.03MB/s) when accessing ../../../Engine/DerivedDataCache/3/9/6/MATSM_4F0644619F9C48FF91E0D494C95EB050_PCD3D_SM5_5__BC5N_DEV_SL_SO_NODBUF_FLOW__AB0726BF748884569A36F2DCC3DA7C6E5E2615EB.udd, c
onsider disabling it.

Then it hangs for eternity at this stage and refuse to go anywhere.

How do I disabled DDC for cooking then (as the log suggest) ?

Also checked launcher version and cooking works fine on it.

Hey iniside-

You mention the promoted branch in your post but selected the master branch as the version you’re working on. Can you clarify which version of the engine you’re using? Also, which C++ template did you create your project from (first person, third person, blank, etc.)?

It’s promoted branch, it just can’t be selected from list.

I’m using third person template.

The way you would disable this would be to disable the use of .pak files in your cooking process. You can find this option in the Project Settings under Packaging. It would probably be better to find out why it is being slow rather than to disable this feature however. Could you provide the entire output log from the packaging attempt?

It does work, on 4.11 source…

Here is log from promoted branch:
http:///NH5QZ5z6

Last time I checked new build was yesterday.

Thank you for the log iniside,

I see that the build didn’t complete but didn’t fail either. How long was this packaging before you stopped? Also, could you post your dxdiag so that we can take a look at your computer’s specs to see if long times would be expected?

I noticed that the message that you mentioned in your original post doesn’t appear in that log file. Did that message stop appearing with the newest build?

The problem here is that it doesn’t really fail it just never completes. Sometimes it hangs at platform build, and sometimes and cooking content.
Last time i left it it was for about 7 hours, and it just hanged at cooking stage.

link text

Thank you for the information. I downloaded the promoted build from Github and set up a Third Person Template C++ project to test to see if I got the same results. I ended up with a packaging process that took about 30 minutes to finish with close to 100% CPU usage for the entire time which is quite severe from what I’m used to but not as bad as what you’re seeing. Could you specify what template you’re using when you see these long cook times?

Also, have you tried disabling the use of Pak files to see if that lets you get quicker cook times?

I’m using Third Person C++ template, with starter content. Didn’t change anything, just went up straight for cooking.

Unchecking, using pack files, still causes it hang on TVOs Target platform.

Tested on todays promoted branch.

While I understand that the cooking process is taking a while, would it be possible to leave it to cook as long as needed to see if it will complete? A few hours should give a good idea on if it’ll finish or not so leaving it to cook overnight would most likely be best since it won’t impede other things you would like to do on the computer.

It seems like update from Saturday, fixed this issue. Cooking times are now normal.
If there will be any regressions on that, I will post about it here.

Glad to hear that. In the meantime, I’ll your last comment as the answer. If the problem presents itself again, please leave another comment and the post will reopen so we can continue to investigate.