Shaders recompile at every startup when Setting r.Nanite.RequireDX12 is set to zero

I had the issue where Nanite would not work until I set “r.Nanite.RequireDX12” to 0 (zero) in DefaultEngine.ini file in project directory. When I set this to zero Nanite did starts to work but at the same time editor would not use cached shaders anymore and would recompile all shaders on every project startup (while on 45% of loading on splash screen).

In BaseEngine.ini in engine config I’ve tried to replace:
%ENGINEVERSIONAGNOSTICUSERDIR%DerivedDataCache
with:
%GAMEDIR%LocalDerivedDataCache
which would suppose to put cache in project’s directory but even after the editor compiled all shaders again, started and I would save the level the DerviedDataCache in project’s directory would remain empty and editor would recompile all shaders at the next startup again.

Any one stumbled upon this? Is there a way to have editor use cached shaders and Nanite enabled at the same time?