Announcement

Collapse
No announcement yet.

Very slow derived data cache problem

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Very slow derived data cache problem

    Hi all!

    I've been having some weird problems with Unreal Engine as of late and I don't really know what's going on, and I'd like to share my problem with the forums in case there's someone out there who can shed light into this issues.

    My main problem is that the current version of the Unreal Engine that I'm using is very slow when loading data, as in levels (for example), or when packaging the game. This hadn't been an issue before, especially when I was using the binary version of the engine as provided through the Epic Games Launcher. Nowadays I've made the jump to the source code version, and it is this version which gives me problems. I'll try to cite them below:

    1/ When loading the editor after booting up the computer, as well as the Unreal Engine project, these take a long time. Longer than if I open the project and close it and then open it again, for instance. This seems to tell me that the derived data cache is either not being accessed and the engine has to recreate those assets, or that the access to the derived data cache folder is very slow and that's why it takes so long.

    However, I'm more inclined to think that the derived data cache isn't being accessed as if I close and reload the project those assets take less time to load - probably because they are still in memory, which could point to them being recreated? Not sure about this.

    2/ When packaging the project I get the following message all over the place:

    Warning: D:/Unreal/PlanCity/PlanCity/LocalDerivedDataCache is very slow (0.02MB/s) when accessing D:/Unreal/PlanCity/PlanCity/LocalDerivedDataCache/8/8/4/TEXTURE_68A083899C6F4316B8CE0E2958EDE2C2_BC5_567955614D2260985028FA89B708C677___ABDDB91D6707A292EB0D9F7B5B9E29AAD6222E74.udd, consider disabling it.

    So I'm not sure why this is happening, and I'm sure it must be related to my first problem. It seems like that folder is very slow to access, which is weird, as I have other projects using a binary version of the engine stored in the D drive which don't show that problem. With all of this in mind, I guess the problem really lies in the engine and how it's accessing the derived data cache folder? The only major difference between the source code engine and the binary ones is that the latter one has been compiled in the D drive, a mechanical hard drive, and the others live on the SSD. However, all of the derived data cache folder for every project that I create gets stored in the D drive, so not sure how that would be a problem if at all.

    What do you guys think? Anyone encountered something similar before? What should I do?! :S

    Thanks for all of your time in advance by the way

    #2
    By default, the launcher builds store the DDC for all projects in a shared folder in the AppData folder, which is on drive C. Check it out and you'll see it's probably quite large. Your D is probably too slow or is defective, because I've never seen that message even when forcing the DDC to a mechanical drive.

    In the editor settings you can set up a custom location for the shared DDC and move it to your SSD.
    Last edited by Manoel.Neto; 08-15-2019, 09:18 AM.

    Comment

    Working...
    X