UE4, 5 clear cache and modify cache location

The UE project will generate a cache for the first time loading, so the first loading will be very slow, and the second time will be very fast, but the cache location is on the C drive by default, so you will find that the C drive space is getting less and less, so we need Change the default cache location to the current project location

First, find the directory C:\Users\admin\AppData\Local\UnrealEngine\Common and delete the DerivedDataCache folder. If the UE project on your computer is large and there are many, you will find that this file has dozens of G, because it contains project cache for all engine versions

Then find your engine installation directory. If there are multiple engine versions, you need to set them one by one. Here I use UE5.0 as an example

Right-click Notepad to open, ctrl + f to enter InstalledDerivedDataBackendGraph to locate

Then change ENGINEVERSIONAGNOSTICUSERDIR to GAMEDIR and then ctrl + s to save

Then open the project cache again and it will exist in the DerivedDataCache folder of the current project path

 

 

Guess you like

Origin blog.csdn.net/qq_41410054/article/details/127230573