Reproduction steps:
1. Open the attached project “LightCrash”
2. Go to Window > Rendering > Lighting
3. Press “Generate Lighting”
Expected result: Lighting is generated
Actual result: The Editor crashes
Reproducible with: 2021.3.27f1
Not reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a4
Fixed in: 2021.3.28f1
Reproducible on: macOS 13.5 (M1 Max)
Not reproducible on: Windows 10, macOS 13.5 (Intel)