# Lightmass Crashed - Array Index Out Of Bounds

**URL:** <https://forums.unrealengine.com/t/lightmass-crashed-array-index-out-of-bounds/355260>\
**Category:** Rendering\
**Tags:** Lightmass, assertion-failed, UE4-8, lighting-build, unreal-engine, crash, question\
**Created:** [April 24, 2016, 2:10am UTC](https://forums.unrealengine.com/t/lightmass-crashed-array-index-out-of-bounds/355260 "2016-04-24T02:10:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c38dacc2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c38dacc2](https://forums.unrealengine.com/u/anonymous_user_c38dacc2)\
**Post date:** [April 24, 2016, 2:10am UTC](https://forums.unrealengine.com/t/lightmass-crashed-array-index-out-of-bounds/355260/1 "2016-04-24T02:10:24Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![SmallGhost](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SmallGhost](https://forums.unrealengine.com/u/SmallGhost)\
**Post date:** [March 14, 2018, 11:26am UTC](https://forums.unrealengine.com/t/lightmass-crashed-array-index-out-of-bounds/355260/2 "2018-03-14T11:26:51Z")

</div>

I have the same question… how to solve it
