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"

Derived Data Cache?

Can I delete everything in here? Or is there a way to change the drive where that is saved? AppData\Local\UnrealEngine\Common\DerivedDataCache It is now 16GB and I almost have no more space on my SSD which is C:

Product Version: UE 4.8
Tags:
more ▼

asked Jul 10 '15 at 11:30 AM in Using UE4

avatar image

Davision
948 105 150 202

avatar image MorianHawke May 15 '18 at 07:00 AM

Sorry if this is obvious, but how do you do that? Do you have to open a project file or something? I wasn't able to find it in Editor settings.

avatar image Stevendeg Aug 19 '18 at 11:28 PM

Open a project file: In the left upper corner: Edit > EditorPreferece and then just type in ''derived'' in the search bar. The path option wil show up and from here you can chance it. A restart is required after changing

avatar image MorianHawke Aug 19 '18 at 11:42 PM

Oh, wow, idk how I missed that. Thanks!

avatar image unit23 Apr 08 '19 at 10:34 PM

After 3 weeks, and the need to delete, due to LogLinker warnings related to Deleted Folders. Peaked at over 800,000 files...

alt text

ddc.jpg (50.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

8 answers: sort voted first
  1. Open BaseEngine.ini > UnrealEngineVersion\Engine\Config\BaseEngine.ini

  2. Find: [InstalledDerivedDataBackendGraph]

  3. Change: Path="%ENGINEVERSIONAGNOSTICUSERDIR%DerivedDataCache"

  4. to: Path="%GAMEDIR%LocalDerivedDataCache"

All cache will be saved in to directory of your project

more ▼

answered Jan 23 '17 at 07:03 AM

avatar image

SergeOvD
141 3 6 11

avatar image Two-faced Mar 21 '17 at 09:51 AM

Will this move lead to crashes?

avatar image SergeOvD Mar 21 '17 at 10:26 AM

Nope (at least for me). I use this method on few machines without any crashes.

avatar image Laura DimenWorld Sep 22 '17 at 02:39 PM

Can You show us how by a video please

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

Since 4.18 you can now set the path for the DerivedDataCache directly trough EditorPreference Global Settings.

more ▼

answered Nov 16 '17 at 08:03 PM

avatar image

spaceharry
402 22 30 139

avatar image solarstoned Nov 24 '17 at 02:14 PM

thank you spaceharry

btw I passed your information onto a few other threads that had the same question. I linked to this thread and mentioned it was you who gave the info. thanks again.

avatar image MJ_ Oct 01 '18 at 03:27 PM

what happened to this in 4.20? there is literally nothing in the project settings nor baseengine.ini

avatar image solarstoned Oct 01 '18 at 04:17 PM

the answers already been posted here. go to EDIT. click on editor preferences. go to general, GLOBAL and you can change the directory to wherever u want. its not in the project settings its under Editor preferences

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

This is explained in the documentation page for DerivedDataCache.

https://docs.unrealengine.com/latest/INT/Engine/Basics/DerivedDataCache/index.html

more ▼

answered Jul 11 '15 at 04:09 AM

avatar image

Guigsy1865
643 20 9 31

avatar image Davision Jul 14 '15 at 06:14 PM

There appears to be no proper way to change the path when using no shared DDC. I tried to use Hourences solution but it would just make the editor crash while recompiling the shaders:

 The engine caches shaders to C:\ no matter where you install. This folder can quickly become 10 GB or more on big projects. To make it write to your project folder instead add following lines to your default engine ini. Shader cache should not be submitted to source control.
 
     [InstalledDerivedDataBackendGraph]
     Boot=(Type=Boot, Filename=”%GAMEDIR%DerivedDataCache/Boot.ddc”, MaxCacheSize=512)
     Local=(Type=FileSystem, ReadOnly=false, Clean=false, Flush=false, PurgeTransient=true, DeleteUnused=true, UnusedFileAge=34, FoldersToClean=-1, Path=”%GAMEDIR%DerivedDataCache”) 

I ended up deleting the cache and letting it regenerate it on C again and it turned out to be much less space required. So I can work with that for now.

avatar image ELRIIC Oct 17 '15 at 02:17 PM

My DerivedDataCache was a wooping 27giga, a huge amount for my small ssd.

Davision is right, by deleting the folder and opening again your working project it will take much less space (700mb in my case). It will just take a bit more to open the project first time after you delete the files.

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

Mikevandoorne open your editor preferences under EDIT. search for Derived in the search bar. you will see that you can change the location to another drive!

more ▼

answered Aug 19 '18 at 11:58 PM

avatar image

solarstoned
41 3 5

avatar image Mikevandoorne Oct 01 '18 at 07:59 PM

Will it move the cach content to or does it need to recompile shaders and stuff again? Or can i just copy paste the cach to an other location and then change it inside the engine so i does not have to recompile everything? Idk if that would work? If yes, it could save me a lot of time because i have like a lot of different maps i work on and it usualy takes long to compile it. Thx.

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

Sweet baby jesus, thanks for this information i have to move my DerivedDataCache to my another drive where the project folder is, it's taking a whopping 40gb here, my small ssd starting to scream

more ▼

answered Feb 14 '17 at 02:37 AM

avatar image

Bigodon
13 3 8 8

avatar image SergeOvD Feb 14 '17 at 02:50 AM

U can remove Cache in old folder and engine will fully remake it in new folder - its will take some time but less than you need to move 40gb,

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

Could you please make a quick video of this ?

Everything (the app cache) is now on my C:(SSD) and i want it on my E:(HDD) Drive , not where my projects are on my S: (SDD) Drive, so if could make a short video and paste the link down there please... Thanks.

more ▼

answered Dec 30 '17 at 08:55 AM

avatar image

Mikevandoorne
1 1 3

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

Thank god for this thread! Just managed to free up 57gb on my 250bg SSD

more ▼

answered Feb 04 '19 at 08:22 PM

avatar image

BloodMoonMode
1 1 1

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

I did not have a problem with my projects when I changed the DERIVED DATA directory in editor preferences. First I changed it, then I opened my projects so that they would be copied to the new directories, I restarted my computer, I deleted the folders in C: I kept in recycling bin, I opened my projects and nothing happened, everything working perfectly. Greetings. I hope I have cleared some doubt. goodbye

more ▼

answered Apr 24 '19 at 02:33 AM

avatar image

possessed87
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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