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"

Derived Data Cache is not generated completely

We've recently upgraded to 4.12.5 and have run into an issue with the generation of the Derived Data Cache. We run the command "MyProject -run=DerivedDataCache -fill" nightly in order to keep the DDC primed. However, the amount of data that is generated is far less than what it used to be. The Engine is now compiling shaders after the level is loaded which ends up taking a significant amount of time.

Looking at the diffs of DerivedDataCacheCommandlet.cpp, the new statement "if (ProcessedPackages.Contains(It->GetOutermost()->GetName()))" never ends up being true. As a result, BeginCacheForCookedPlatformData is not called on the UObject. If I comment out this line, the data created is much larger and we no longer have shaders compiling during level load.

I've tested this with Github source versions 4.12.5-release and 4.13.0-preview-3 and both exhibit the same behavior. To reproduce it, I have been deleting the Engine\DerivedDataCache and Engine\Saved folders in between each test.

DDC sizes in 4.13.0-preview-3:

  • ~39.9 MB after DerivedDataCache -fill command.

  • ~194 MB after running the Editor and waiting for "Compiling Shaders" to complete.

  • ~419 MB after DerivedDataCache -fill command with the if check commented out.

Has the DDC generation changed and our usage is no longer correct or could this be a bug?


Product Version: UE 4.12
more ▼

asked Aug 31 '16 at 11:42 PM in Using UE4

avatar image

6 1 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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