Build Lighting Error - Please Help!

Hi all! This is my Masters project so I would be incredibly grateful for a fix. This was working fine yesterday, and now it’s not. All I’m doing is a preview build and i’ve only added 6 objects and rotated some walls, so the assets in the surely scene can’t be the problem.

I have also had an issue with constant crashes too, especially when trying to go into Simulate, so this may be a corruption issue, but again I haven’t done anything to it since I build lighting the last time I had it open. The output is below, thank you so much in advance!

Version 5.0.3
VR Project

=== Lightmass crashed: ===
Assertion failed: rtcDeviceGetError(EmbreeDevice) == RTC_NO_ERROR [File:D:\build++UE5\Sync\Engine\Source\Programs\UnrealLightmass\Private\Lighting\Embree.cpp] [Line: 721]

0x00007ff627d70cb3 UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::PrepareForRaytracing() []
0x00007ff627d950c0 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem() []
0x00007ff627d498b1 UnrealLightmass.exe!Lightmass::BuildStaticLighting() []
0x00007ff627d6cda1 UnrealLightmass.exe!Lightmass::LightmassMain() []
0x00007ff627d8cf97 UnrealLightmass.exe!main() []
0x00007ff627df5ebc UnrealLightmass.exe!__scrt_common_main_seh() []
0x00007ff9ccc87614 KERNEL32.DLL!UnknownFunction []
0x00007ff9cd9a26a1 ntdll.dll!UnknownFunction []

Annoyingly, I believe I’ve figured it out. I believe it’s a memory issue. I had a similar problem with my test map and that output actually mentioned my memory. To resolve it, I just had to close Substance Painter which apparently was using the remaining 16GB of memory according to UE5, causing lightmass to crash. Sorry all!