Project building is using wrong path

I have migrated my project from 5.1.1 to 5.2 and I must have messed up as I keep on getting a lot of errors. what is odd is that the errors are referring to paths that don’t exist

there is no D:\build++UE5\ on my systems at all. I have looked in the environmental paths and it’s not there. I have removed UE5.2 and reinstalled it but to no avail.

What else can I do?

unreal error

FUObjectHashTables data took   0.49ms
=== Lightmass crashed: ===
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 752] 
Array index out of bounds: 897 from an array of size 897
0x00007ff78f1ebca4 UnrealLightmass.exe!Lightmass::FEmbreeGeometry::FEmbreeGeometry() []
0x00007ff78f1f516a UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::AddMesh() []
0x00007ff78f24a8f0 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem() []
0x00007ff78f1fbd71 UnrealLightmass.exe!Lightmass::BuildStaticLighting() []
0x00007ff78f2210eb UnrealLightmass.exe!Lightmass::LightmassMain() []
0x00007ff78f243410 UnrealLightmass.exe!main() []
0x00007ff78f2b16cc UnrealLightmass.exe!__scrt_common_main_seh() []
0x00007ffd028b7614 KERNEL32.DLL!UnknownFunction []
0x00007ffd02c826a1 ntdll.dll!UnknownFunction []
0x00007ff78f1ebca4 UnrealLightmass.exe!Lightmass::FEmbreeGeometry::FEmbreeGeometry() []
0x00007ff78f1f516a UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::AddMesh() []
0x00007ff78f24a8f0 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem() []
0x00007ff78f1fbd71 UnrealLightmass.exe!Lightmass::BuildStaticLighting() []
0x00007ff78f2210eb UnrealLightmass.exe!Lightmass::LightmassMain() []
0x00007ff78f243410 UnrealLightmass.exe!main() []
0x00007ff78f2b16cc UnrealLightmass.exe!__scrt_common_main_seh() []
0x00007ffd028b7614 KERNEL32.DLL!UnknownFunction []
0x00007ffd02c826a1 ntdll.dll!UnknownFunction []
LightingResults: Error: <None> === Lightmass crashed: ===
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 752] 
Array index out of bounds: 897 from an array of size 897
0x00007ff78f1ebca4 UnrealLightmass.exe!Lightmass::FEmbreeGeometry::FEmbreeGeometry() []
LogProfilingDebugging: Allocated a 1024 x 1024 texture for HMD canvas layer
LogStats: FPlatformStackWalk::StackWalkAndDump -  0.359 s
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: Views.Num() == 1  [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\IndirectLightRendering.cpp] [Line: 1168] 
LogOutputDevice: Error: Need to add support for one AO texture per view in FSceneTextures
LogOutputDevice: Error: Stack: 
LogOutputDevice: Error: [Callstack] 0x00007ffc96437fd4 UnrealEditor-Renderer.dll!FDeferredShadingSceneRenderer::RenderDiffuseIndirectAndAmbientOcclusion() [D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\IndirectLightRendering.cpp:1168]
LogOutputDevice: Error: [Callstack] 0x00007ffc9613c613 UnrealEditor-Renderer.dll!FDeferredShadingSceneRenderer::Render() [D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\DeferredShadingRenderer.cpp:3735]
LogOutputDevice: Error: [Callstack] 0x00007ffc96d6e0f9 UnrealEditor-Renderer.dll!RenderViewFamilies_RenderThread() [D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\SceneRendering.cpp:4413]
LogOutputDevice: Error: [Callstack] 0x00007ffc96d331ca UnrealEditor-Renderer.dll!<lambda_3332acdaafdbf3c437080709986d7e10>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\SceneRendering.cpp:4681]
LogOutputDevice: Error: [Callstack] 0x00007ffc96d52699 UnrealEditor-Renderer.dll!TEnqueueUniqueRenderCommandType<`FRendererModule::BeginRenderingViewFamilies'::`87'::FDrawSceneCommandName,<lambda_3332acdaafdbf3c437080709986d7e10> >::DoTask() [D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Public\RenderingThread.h:209]
LogOutputDevice: Error: [Callstack] 0x00007ffc96d5a6dd UnrealEditor-Renderer.dll!TGraphTask<TEnqueueUniqueRenderCommandType<`FRendererModule::BeginRenderingViewFamilies'::`87'::FDrawSceneCommandName,<lambda_3332acdaafdbf3c437080709986d7e10> > >::ExecuteTask() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1310]
LogOutputDevice: Error: [Callstack] 0x00007ffcae58d5c6 UnrealEditor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:758]
LogOutputDevice: Error: [Callstack] 0x00007ffcae58daee UnrealEditor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:649]
LogOutputDevice: Error: [Callstack] 0x00007ffcb677bd89 UnrealEditor-RenderCore.dll!RenderingThreadMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:416]
LogOutputDevice: Error: [Callstack] 0x00007ffcb6781cf4 UnrealEditor-RenderCore.dll!FRenderingThread::Run() [D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:542]
LogOutputDevice: Error: [Callstack] 0x00007ffcaec522c2 UnrealEditor-Core.dll!FRunnableThreadWin::Run() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]
LogOutputDevice: Error: [Callstack] 0x00007ffcaec48310 UnrealEditor-Core.dll!FRunnableThreadWin::GuardedRun() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:79]
LogOutputDevice: Error: [Callstack] 0x00007ffd028b7614 KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd02c826a1 ntdll.dll!UnknownFunction []
LogStats:                SubmitErrorReport -  0.000 s
LogStats:                    SendNewReport -  0.961 s
LogStats:             FDebug::EnsureFailed -  1.331 s
LogWindowsDesktop: Alt-F4 pressed!
LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
LogWorld: BeginTearingDown for /Game/VRTemplate/Maps/UEDPIE_0_VRTemplateMap