Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/LightTest.unity“ Scene
3. Open the Lighting window (Window > Rendering > Lighting)
4. Click the “Generate Lighting” button in the Lighting window
5. Observe the crash
Reproducible with: 6000.3.12f1, 6000.3.13f1, 6000.4.2f1, 6000.5.0b4, 6000.6.0a2
Not reproducible with: 6000.0.73f1, 6000.3.11f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
First few lines of the stacktrace:
0x00007FF9166221B6 (Unity) xatlas::internal::pack::Atlas::findChartLocation_bruteForce
0x00007FF916627A4A (Unity) xatlas::internal::pack::Atlas::packCharts
0x00007FF916610C2D (Unity) xatlas::PackCharts
0x00007FF91691EAFF (Unity) `anonymous namespace'::TryRepackAtlasQuadrants
0x00007FF91691D64E (Unity) XAtlasLightmapPacker::PackAtlases