"Derived Data Cache was requested, but not available" error

Fatal error: [File:D:\UnrealEngine-release\Engine\Source\Runtime\Core\Private\Misc\CoreMisc.cpp] [Line: 929]
Derived Data Cache was requested, but not available.

KERNELBASE.dll
UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() [d:\unrealengine-release\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:102]
UE4Editor-Core.dll!FOutputDevice::Logf__VA() [d:\unrealengine-release\engine\source\runtime\core\private\misc\outputdevice.cpp:154]
UE4Editor-Core.dll!FDebug::AssertFailed() [d:\unrealengine-release\engine\source\runtime\core\private\misc\outputdevice.cpp:440]
UE4Editor-Core.dll!GetDerivedDataCacheRef() [d:\unrealengine-release\engine\source\runtime\core\private\misc\coremisc.cpp:932]
UE4Editor-Engine.dll!GetGlobalShaderMap() [d:\unrealengine-release\engine\source\runtime\engine\private\globalshader.cpp:590]
UE4Editor.exe!FEngineLoop::PreInit() [d:\unrealengine-release\engine\source\runtime\launch\private\launchengineloop.cpp:1480]
UE4Editor.exe!GuardedMain() [d:\unrealengine-release\engine\source\runtime\launch\private\launch.cpp:114]
UE4Editor.exe!GuardedMainWrapper() [d:\unrealengine-release\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor.exe!WinMain() [d:\unrealengine-release\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
KERNEL32.DLL
ntdll.dll
ntdll.dll

I get this error when trying to launch UE4Editor.exe. I have compiled from sources UE 4.12.5. I also have installed the same version of UE via Epic Launcher, but it’s not usable for me because of Engine compile errors appearing while compiling a custom plugin. I hope these two UE installations don’t conflict.

What is the cause of this error? How to solve it?

Would be glad for any help…

I don’t know exactly what caused the problem, but recompiling the project helped