I think I broke the Unreal Engine! [Lightmass Crashed]

Hello everybody, I need help!

After I played around with some foliage, I think I applied some weird instance settings. What is going on, since I can’t build my lights anymore? What is the solution?

HERE IS MY OUTPUT FROM THE MESSAGE LOG:

Error <None> === Lightmass crashed: ===
Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Programs\UnrealLightmass\Private\Lighting\LightingSystem.cpp] [Line: 1324]
Static lighting thread exception:
Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 54]
Ran out of memory allocating 16384 bytes with alignment 0

KERNELBASE.dll!UnknownFunction (0x00007fffd90e8b9c) + 0 bytes [UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction (0x00007fff93dd4544) + 0 bytes [UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction (0x00007fff93cb27a4) + 0 bytes [UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction (0x00007fff93bc7867) + 0 bytes [UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction (0x00007fff93bc3ebd) + 0 bytes [UnknownFile:0]
UnrealLightmass.exe!GlobalVectorConstants::dynamic initializer for 'XYZMask''() (0x00007ff7965c214a) + 0 bytes [UnknownFile:0] UnrealLightmass.exe!GlobalVectorConstants::dynamic initializer for ‘XYZMask’’() (0x00007ff7965ca75d) + 0 bytes [UnknownFile:0]
UnrealLightmass.exe!Lightmass::FStaticLightingSystem::ProcessTextureMapping() (0x00007ff796606976) + 0 bytes [UnknownFile:0]
UnrealLightmass.exe!GlobalVectorConstants::dynamic initializer for 'XYZMask''() (0x00007ff7965be9d7) + 0 bytes [UnknownFile:0] UnrealLightmass.exe!GlobalVectorConstants::dynamic initializer for ‘XYZMask’’() (0x00007ff7965b5639) + 0 bytes [UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction (0x00007fff93dd3b66) + 0 bytes [UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction (0x00007fff93dc805d) + 0 bytes [UnknownFile:0]
KERNEL32.DLL!UnknownFunction (0x00007fffdb1413d2) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007fffdbed5444) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007fffdbed5444) + 0 bytes [UnknownFile:0]

Well your clue is right there in the message: “Ran out of memory allocating 16384 bytes with alignment 0”

Your computer didn’t have enough memory to complete the lighting calculations. You can try closing every program except the editor when trying to build lights, reduce lightmap resolution, break up your level into smaller levels, or upgrade your computer with more memory.

Tell us your system specs would be useful but minderaser pretty much summed it up. You ran out of memory. How complex is the scene or is this just when it is opening?

I would go in and double check the light map settings for my static meshes. Make sure you haven’t accidentally set some absurd resolution for one of your meshes. I accidentally set one of my mesh’s light map res to 6432, when I had intended to change it from 32 to 64. It caused lightmass to crash.