My UE4 editor keeps crashing on start up

LoginId:
EpicAccountId:

Assertion failed: SerializeNum >= 0 [File:D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 1152]

UE4Editor_Core!AssertFailedImplV() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:104]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:461]
UE4Editor_DerivedDataCache!operator<<() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h:1152]
UE4Editor_DerivedDataCache!FMemoryDerivedDataBackend::LoadCache() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\MemoryDerivedDataBackend.cpp:284]
UE4Editor_DerivedDataCache!FDerivedDataBackendGraph::ParseBootCache() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:790]
UE4Editor_DerivedDataCache!FDerivedDataBackendGraph::ParseNode() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:161]
UE4Editor_DerivedDataCache!FDerivedDataBackendGraph::ParseHierarchicalCache() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:452]
UE4Editor_DerivedDataCache!FDerivedDataBackendGraph::ParseNode() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:176]
UE4Editor_DerivedDataCache!FDerivedDataBackendGraph::ParseAsyncPut() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:363]
UE4Editor_DerivedDataCache!FDerivedDataBackendGraph::ParseNode() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:193]
UE4Editor_DerivedDataCache!FDerivedDataBackendGraph::ParseKeyLength() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:404]
UE4Editor_DerivedDataCache!FDerivedDataBackendGraph::ParseNode() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:181]
UE4Editor_DerivedDataCache!FDerivedDataBackendGraph::FDerivedDataBackendGraph() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:94]
UE4Editor_DerivedDataCache!FDerivedDataBackend::Get() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataBackends.cpp:1073]
UE4Editor_DerivedDataCache!FDerivedDataCacheModule::GetDDC() [D:\Build++UE4\Sync\Engine\Source\Developer\DerivedDataCache\Private\DerivedDataCache.cpp:581]
UE4Editor_Core!FModuleManager::LoadModuleWithFailureReason() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:538]
UE4Editor_Core!FModuleManager::LoadModule() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:353]
UE4Editor_Core!GetDerivedDataCache() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\CoreMisc.cpp:103]
UE4Editor_Core!GetDerivedDataCacheRef() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\CoreMisc.cpp:114]
UE4Editor_Engine!CompileGlobalShaderMap() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:4939]
UE4Editor!FEngineLoop::PreInitPreStartupScreen() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:2635]
UE4Editor!GuardedMain() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
UE4Editor!GuardedMainWrapper() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor!WinMain() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor!__scrt_common_main_seh() [d:\agent_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

It’s an error related to the DerivedDataCache:

This article says the data will regenerate when required.
Are there any files (~/Project/DerivedDataCache/ ) there? try deleting those.

I dont know where my DerivedDataChache is being kept

inside your project folder’s root. There is also one inside your engine folder you can delete too if the project one doesn’t do the trick