Reproduction steps:
1. Open the attached project “CrashRepro”
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Click Window > Rendering > Lighting
4. In the Lighting window, click “Generate Lighting”
Expected result: Lighting is generated
Actual result: Unity Editor crashes
Reproducible with: 2023.1.0a8, 2023.1.0a19
Not reproducible with: 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a6, 2023.1.0a20
Reproducible on: Ubuntu 20.04.5
First lines of the stack trace:
Note: Reimport the project on every version