Need help with building lighting, the lighting is not getting build

=== Lightmass crashed: ===
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 763]
Array index out of bounds: 1398 from an array of size 1398
0x00007ff77b80ac7f UnrealLightmass.exe!Lightmass::FEmbreeGeometry::FEmbreeGeometry() []
0x00007ff77b813f60 UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::AddMesh() []
0x00007ff77b868010 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem() []
0x00007ff77b819ecd UnrealLightmass.exe!Lightmass::BuildStaticLighting() []
0x00007ff77b83f3d1 UnrealLightmass.exe!Lightmass::LightmassMain() []
0x00007ff77b860d97 UnrealLightmass.exe!main() []
0x00007ff77b8cefbc UnrealLightmass.exe!__scrt_common_main_seh() []
0x00007ff8a8b3244d KERNEL32.DLL!UnknownFunction []
0x00007ff8a9cadfb8 ntdll.dll!UnknownFunction []

0x00007ff77b80ac7f UnrealLightmass.exe!Lightmass::FEmbreeGeometry::FEmbreeGeometry() []
0x00007ff77b813f60 UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::AddMesh() []
0x00007ff77b868010 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem() []
0x00007ff77b819ecd UnrealLightmass.exe!Lightmass::BuildStaticLighting() []
0x00007ff77b83f3d1 UnrealLightmass.exe!Lightmass::LightmassMain() []
0x00007ff77b860d97 UnrealLightmass.exe!main() []
0x00007ff77b8cefbc UnrealLightmass.exe!__scrt_common_main_seh() []
0x00007ff8a8b3244d KERNEL32.DLL!UnknownFunction []
0x00007ff8a9cadfb8 ntdll.dll!UnknownFunction []

I am getting this when I am building lighting. Is there any way to fix this??

Did you ever find a solution for this? I’m getting the same error

No I was not able to find an solution for this.
But I duplicated the level and then made all the lights moveable and tried to manage how many lights are present in one area. And then deleted the old scene and rebuilt it.
It worked after that.