How do I set Zen DDC location to the project folder?

UnrealEngineVersion\Engine\Config\BaseEngine.ini
"Under the [Zen.AutoLaunch] section, change the
DataPath=%ENGINEVERSIONAGNOSTICINSTALLEDUSERDIR%Zen/Data
to:
DataPath=%GAMEDIR%LocalDerivedDataCache "

Thanks for the answer it worked for UE5.5.1, the folder %LocalAppData%\UnrealEngine\Common\Zen\Data was automatically deleted after changing the ini and then open any UE5.5 project, which is expected and the projects can save their cache to their project folders.

Oh no after I opened the 2nd UE5.5 project, the LocalDerivedDataCache folder in the previous UE5.5 project was also automatically deleted, this is a bug and needs to be fixed.

Have to change back to the default ini using the folder %LocalAppData%\UnrealEngine\Common\Zen\Data, and keep playing the engine until it’s bloated too much that UE5.5 can’t run properly, then manually clean the cache and expect hours for the PC to recreate the cache.

2 Likes