=== Lightmass crashed: ===
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 691]
Array index out of bounds: 1452 from an array of size 1452
0x00007ff6be7f2dac UnrealLightmass.exe!Lightmass::FStaticMeshStaticLightingMesh::GetTriangleIndices()
0x00007ff6be76b05a UnrealLightmass.exe!Lightmass::FEmbreeGeometry::FEmbreeGeometry()
0x00007ff6be774f55 UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::AddMesh()
0x00007ff6be7c421e UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem()
0x00007ff6be7798b1 UnrealLightmass.exe!Lightmass::BuildStaticLighting()
0x00007ff6be79cda1 UnrealLightmass.exe!Lightmass::LightmassMain()
0x00007ff6be7bcf97 UnrealLightmass.exe!main()
0x00007ff6be825ebc UnrealLightmass.exe!__scrt_common_main_seh()
0x00007fffcc6126ad KERNEL32.DLL!UnknownFunction
0x00007fffcd86aa08 ntdll.dll!UnknownFunction
*** CRITICAL ERROR! Machine: DESKTOP-SJBE0HN
*** CRITICAL ERROR! Logfile: UnrealLight_DESKTOP-SJBE0HN_70633F284B00122BE7EFE3BD238A06F2.log
*** CRITICAL ERROR! Crash report:
LightingResults: Error: === Lightmass crashed: ===
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 691]
Array index out of bounds: 1452 from an array of size 1452
0x00007ff6be7f2dac UnrealLightmass.exe!Lightmass::FStaticMeshStaticLightingMesh::GetTriangleIndices()
0x00007ff6be76b05a UnrealLightmass.exe!Lightmass::FEmbreeGeometry::FEmbreeGeometry()
0x00007ff6be774f55 UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::AddMesh()
0x00007ff6be7c421e UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem()
0x00007ff6be7798b1 UnrealLightmass.exe!Lightmass::BuildStaticLighting()
0x00007ff6be79cda1 UnrealLightmass.exe!Lightmass::LightmassMain()
0x00007ff6be7bcf97 UnrealLightmass.exe!main()
0x00007ff6be825ebc UnrealLightmass.exe!__scrt_common_main_seh()
0x00007fffcc6126ad KERNEL32.DLL!UnknownFunction
0x00007fffcd86aa08 ntdll.dll!UnknownFunction
Job has failed! Job executable didn’t exit cleanly. Exit code: 1
LogStaticLightingSystem: Warning: Failed to build lighting!!! Lighting build failed.
Does this happen in the Cesium for Unreal Samples project? If not, then it may be a separate problem with your own project that we won’t be able to diagnose.
Same error happens to me.
If you add a new project with VR template, create a new level and add cesium plugin - the same error will occur.
LightingResults: Error: === Lightmass crashed: ===
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 752]
Array index out of bounds: 501 from an array of size 501
0x00007ff6ecd09af3 UnrealLightmass.exe!Lightmass::FStaticMeshLOD::GetIndex()
0x00007ff6ecd0af9d UnrealLightmass.exe!Lightmass::FStaticMeshStaticLightingMesh::GetTriangleIndices()
0x00007ff6ecc7b3c9 UnrealLightmass.exe!Lightmass::FEmbreeGeometry::FEmbreeGeometry()
0x00007ff6ecc8516a UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::AddMesh()
0x00007ff6eccda8f0 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem()
0x00007ff6ecc8bd71 UnrealLightmass.exe!Lightmass::BuildStaticLighting()
0x00007ff6eccb10eb UnrealLightmass.exe!Lightmass::LightmassMain()
0x00007ff6eccd3410 UnrealLightmass.exe!main()
0x00007ff6ecd416cc UnrealLightmass.exe!__scrt_common_main_seh()
0x00007ff8840626ad KERNEL32.DLL!UnknownFunction
0x00007ff884daaa68 ntdll.dll!UnknownFunction
0x00007ff6ecd09af3 UnrealLightmass.exe!Lightmass::FStaticMeshLOD::GetIndex()
0x00007ff6ecd0af9d UnrealLightmass.exe!Lightmass::FStaticMeshStaticLightingMesh::GetTriangleIndices()
0x00007ff6ecc7b3c9 UnrealLightmass.exe!Lightmass::FEmbreeGeometry::FEmbreeGeometry()
0x00007ff6ecc8516a UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::AddMesh()
0x00007ff6eccda8f0 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem()
0x00007ff6ecc8bd71 UnrealLightmass.exe!Lightmass::BuildStaticLighting()
0x00007ff6eccb10eb UnrealLightmass.exe!Lightmass::LightmassMain()
0x00007ff6eccd3410 UnrealLightmass.exe!main()
0x00007ff6ecd416cc UnrealLightmass.exe!__scrt_common_main_seh()
0x00007ff8840626ad KERNEL32.DLL!UnknownFunction
I just tried creating a new Game → Virtual Reality project in UE 5.1.1. Then I added the Cesium for Unreal plugin (v1.28.0) and restarted the Editor. No errors. There was initially an error related to the Water Plugin, but clicking the link in the error message fixed that easily. I also tried packaging, and that worked fine.
So… I need help reproducing this. Can anyone experiencing this please provide more detailed instructions on how to reproduce it?