Lightmass Crashed - Array Index Out Of Bounds

Whenever I try and build the lighting, it just crashes at 0% with:

Error === Lightmass crashed: ===
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.8\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 678]
Array index out of bounds: 2295150 from an array of size 2295150

KERNELBASE.dll {0x00007ff97fc71f28} + 0 bytes
UnrealLightmass-Core.dll {0x00007ff9374eedbf} + 0 bytes
UnrealLightmass-Core.dll {0x00007ff9373d1738} + 0 bytes
UnrealLightmass-Core.dll {0x00007ff9373b2778} + 0 bytes
UnrealLightmass.exe!Lightmass::TkDOPTree::SplitTriangleList() {0x00007ff68cf260b8} + 0 bytes
UnrealLightmass.exe!Lightmass::TkDOPTree::SplitTriangleList() {0x00007ff68cf26714} + 0 bytes
UnrealLightmass.exe!Lightmass::TkDOPTree::SplitTriangleList() {0x00007ff68cf26714} + 0 bytes
UnrealLightmass.exe!Lightmass::TkDOPTree::SplitTriangleList() {0x00007ff68cf26714} + 0 bytes
UnrealLightmass.exe!Lightmass::TkDOPTree::SplitTriangleList() {0x00007ff68cf26714} + 0 bytes
UnrealLightmass.exe!Lightmass::TkDOPTree::SplitTriangleList() {0x00007ff68cf26714} + 0 bytes
UnrealLightmass.exe!Lightmass::TkDOPTree::SplitTriangleList() {0x00007ff68cf26714} + 0 bytes
UnrealLightmass.exe!Lightmass::TkDOPTree::Build() {0x00007ff68ced219c} + 0 bytes
UnrealLightmass.exe!Lightmass::FStaticLightingAggregateMesh::PrepareForRaytracing() {0x00007ff68cf149ba} + 0 bytes
UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem() {0x00007ff68ceb252f} + 0 bytes
UnrealLightmass.exe!Lightmass::BuildStaticLighting() {0x00007ff68ced2aca} + 0 bytes
UnrealLightmass.exe!Lightmass::LightmassMain() {0x00007ff68cf0f3b8} + 0 bytes
UnrealLightmass.exe!main() {0x00007ff68cf2d94f} + 0 bytes
UnrealLightmass.exe!__tmainCRTStartup() {0x00007ff68cf8950b} + 0 bytes
KERNEL32.DLL {0x00007ff982588102} + 0 bytes
ntdll.dll {0x00007ff982c5c5b4} + 0 bytes
ntdll.dll {0x00007ff982c5c5b4} + 0 bytes

Any idea on how I can fix this?

I have the same question… how to solve it

make the a 3rd that is experiencing this very same issue…would love to know how to fix it

Clearing the cash in the Swarm Agent fixed the issue for me
https://forums.unrealengine.com/development-discussion/architectural-and-design-visualization/1421354-lightmass-crashing-array-index-out-of-bounds

1 Like