# Derived Data Cache?

**URL:** <https://forums.unrealengine.com/t/derived-data-cache/324747>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [July 10, 2015, 11:30am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747 "2015-07-10T11:30:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [July 10, 2015, 11:30am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/1 "2015-07-10T11:30:22Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![Guigsy1865](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Guigsy1865](https://forums.unrealengine.com/u/Guigsy1865)\
**Post date:** [July 11, 2015, 4:09am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/2 "2015-07-11T04:09:58Z")

</div>

This is explained in the documentation page for DerivedDataCache.

> **[Derived Data Cache](https://docs.unrealengine.com/4.27/en-US/ProductionPipelines/DerivedDataCache/)**
>
> Overview of the Derived Data Cache and the storage of assets in formats used by UE4 and its target platforms

---

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [July 14, 2015, 6:14pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/3 "2015-07-14T18:14:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ELRIIC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ELRIIC](https://forums.unrealengine.com/u/ELRIIC)\
**Post date:** [October 17, 2015, 2:17pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/4 "2015-10-17T14:17:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_72d9371a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_72d9371a1](https://forums.unrealengine.com/u/anonymous_user_72d9371a1)\
**Post date:** [January 23, 2017, 7:03am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/5 "2017-01-23T07:03:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bigodon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bigodon](https://forums.unrealengine.com/u/Bigodon)\
**Post date:** [February 14, 2017, 2:37am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/6 "2017-02-14T02:37:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_72d9371a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_72d9371a1](https://forums.unrealengine.com/u/anonymous_user_72d9371a1)\
**Post date:** [February 14, 2017, 2:50am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/7 "2017-02-14T02:50:24Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![Two-faced](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Two-faced](https://forums.unrealengine.com/u/Two-faced)\
**Post date:** [March 21, 2017, 9:51am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/8 "2017-03-21T09:51:55Z")

</div>

Will this move lead to crashes?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_72d9371a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_72d9371a1](https://forums.unrealengine.com/u/anonymous_user_72d9371a1)\
**Post date:** [March 21, 2017, 10:26am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/9 "2017-03-21T10:26:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Laura\_DimenWorld](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Laura\_DimenWorld](https://forums.unrealengine.com/u/Laura_DimenWorld)\
**Post date:** [September 22, 2017, 2:39pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/10 "2017-09-22T14:39:03Z")

</div>

Can You show us how by a video please

---

<div class="post-metadata">

**Author:** ![spaceharry](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@spaceharry](https://forums.unrealengine.com/u/spaceharry)\
**Post date:** [November 16, 2017, 8:03pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/11 "2017-11-16T20:03:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![solarstoned](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/solarstoned/32/557224_2.png) [@solarstoned](https://forums.unrealengine.com/u/solarstoned)\
**Post date:** [November 24, 2017, 2:14pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/12 "2017-11-24T14:14:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Mikevandoorne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mikevandoorne](https://forums.unrealengine.com/u/Mikevandoorne)\
**Post date:** [December 30, 2017, 8:55am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/13 "2017-12-30T08:55:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![MorianHawke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MorianHawke](https://forums.unrealengine.com/u/MorianHawke)\
**Post date:** [May 15, 2018, 7:00am UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/14 "2018-05-15T07:00:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Stevendeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stevendeg](https://forums.unrealengine.com/u/Stevendeg)\
**Post date:** [August 19, 2018, 11:28pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/15 "2018-08-19T23:28:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![MorianHawke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MorianHawke](https://forums.unrealengine.com/u/MorianHawke)\
**Post date:** [August 19, 2018, 11:42pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/16 "2018-08-19T23:42:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![solarstoned](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/solarstoned/32/557224_2.png) [@solarstoned](https://forums.unrealengine.com/u/solarstoned)\
**Post date:** [August 19, 2018, 11:58pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/17 "2018-08-19T23:58:46Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![MJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MJ](https://forums.unrealengine.com/u/MJ)\
**Post date:** [October 1, 2018, 3:27pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/18 "2018-10-01T15:27:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![solarstoned](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/solarstoned/32/557224_2.png) [@solarstoned](https://forums.unrealengine.com/u/solarstoned)\
**Post date:** [October 1, 2018, 4:17pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/19 "2018-10-01T16:17:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mikevandoorne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mikevandoorne](https://forums.unrealengine.com/u/Mikevandoorne)\
**Post date:** [October 1, 2018, 7:59pm UTC](https://forums.unrealengine.com/t/derived-data-cache/324747/20 "2018-10-01T19:59:26Z")

</div>

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.

[Next page](https://forums.unrealengine.com/t/derived-data-cache/324747.md?page=2)
