文章

修改引擎缓存占用

  • 修改 [引擎目录]\Engine\Config\BaseEngine.ini

  • 1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    
    ;原始配置
    [InstalledDerivedDataBackendGraph]
    # ...
    Local=(Type=FileSystem, ReadOnly=false, Clean=false, Flush=false, PurgeTransient=true, DeleteUnused=true, UnusedFileAge=34, FoldersToClean=-1, Path="%ENGINEVERSIONAGNOSTICUSERDIR%DerivedDataCache", EditorOverrideSetting=LocalDerivedDataCache)
    # ...
    ;修改后配置
    [InstalledDerivedDataBackendGraph]
    # ...
    Local=(Type=FileSystem, ReadOnly=false, Clean=false, Flush=false, PurgeTransient=true, DeleteUnused=true, UnusedFileAge=34, FoldersToClean=-1, Path="%GAMEDIR%DerivedDataCache", EditorOverrideSetting=LocalDerivedDataCache)
    # ...
    
  • 删除 C:\Users\[UserName]\AppData\Local\UnrealEngine\Common\DerivedDataCache 目录

  • 启动E:\junqiangzhu_trunk_ug_engine\UnrealEngine-release\Engine\Binaries\DotNET\SwarmAgent.exe ,修改 Settings -> CacheFolder 设置

    • 若旧目录存在,则先删除旧目录 (C:\Users\ [User] \AppData\Local\UnrealEngine)
本文由作者按照 CC BY 4.0 进行授权