Hi Everyone,
I have an interior scene where my light bakes are consistently crashing. The issue started after I tried to utilize the GPU Lightmass plugin.
Before enabling the GPU Lightmass plugin my bakes were working fine.
While the GPU lightmass was enabled I could not successfully complete a lightbake. It would hang around the encoding & denoising stage & crash every time.
I disabled the GPU Lightmass plugin, and walked back the few project settings changes that I made in order to get the plugin initially enabled, but in spite of that my lightbakes are continuing to fail every time I attempt to build them.
I would love some help getting back on the right track. I tried deleting and recreating all of my lighting & effects sources to rule out any issues there. I also tried deleting my low poly terrain. None of those steps have had an effect.
Here is the error from the Lighting Results panel:
=== Lightmass crashed: ===
Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Programs\UnrealLightmass\Private\Lighting\LightingSystem.cpp] [Line: 1458]
Static lighting thread exception:
Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 241]
Ran out of memory allocating 3486253888 bytes with alignment 16. Last error msg: The paging file is too small for this operation to complete..
0x00007ff9c5296e28 UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff9c52b0eb3 UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff9c53349bf UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff9c53358d9 UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff75565d530 UnrealLightmass.exe!TArray<Lightmass::FGatheredLightMapSample,TSizedDefaultAllocator<32> >::ResizeTo() []
0x00007ff75564174d UnrealLightmass.exe!Lightmass::FGatheredLightMapData2D::FGatheredLightMapData2D() []
0x00007ff75565b416 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::ProcessTextureMapping() []
0x00007ff75563fcf2 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::ThreadLoop() []
0x00007ff75563abd6 UnrealLightmass.exe!Lightmass::FMappingProcessingThreadRunnable::Run() []
0x00007ff9c57a1a6e UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff9c5798faa UnrealLightmass-Core.dll!UnknownFunction []
0x00007ffb19c926ad KERNEL32.DLL!UnknownFunction []
0x00007ffb1a3aaa68 ntdll.dll!UnknownFunction []
0x00007ff9c5296e28 UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff9c52b0eb3 UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff9c53349bf UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff9c53358d9 UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff75565d530 UnrealLightmass.exe!TArray<Lightmass::FGatheredLightMapSample,TSizedDefaultAllocator<32> >::ResizeTo() []
0x00007ff75564174d UnrealLightmass.exe!Lightmass::FGatheredLightMapData2D::FGatheredLightMapData2D() []
0x00007ff75565b416 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::ProcessTextureMapping() []
0x00007ff75563fcf2 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::ThreadLoop() []
0x00007ff75563abd6 UnrealLightmass.exe!Lightmass::FMappingProcessingThreadRunnable::Run() []
0x00007ff9c57a1a6e UnrealLightmass-Core.dll!UnknownFunction []
0x00007ff9c5798faa UnrealLightmass-Core.dll!UnknownFunction []
0x00007ffb19c926ad KERNEL32.DLL!UnknownFunction []
0x00007ffb1a3aaa68 ntdll.dll!UnknownFunction []
0x00007ff75562dd63 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::MultithreadProcess() []
0x00007ff7555fbc97 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem() []
0x00007ff7555abd71 UnrealLightmass.exe!Lightmass::BuildStaticLighting() []
0x00007ff7555d10eb UnrealLightmass.exe!Lightmass::LightmassMain() []
0x00007ff7555f3410 UnrealLightmass.exe!main() []
0x00007ff7556616cc UnrealLightmass.exe!__scrt_common_main_seh() []
0x00007ffb19c926ad KERNEL32.DLL!UnknownFunction []
0x00007ffb1a3aaa68 ntdll.dll!UnknownFunction []