Reproduction steps:
1. Open the attached project
2. Open the Lighting window and make sure the Scene view is still visible
3. Click "Generate Lighting"
4. Open the Background Tasks window
Expected result: Lighting generation completes
Actual result: "Preparing Bake..." task keeps restarting
Reproducible with: 2021.3.27f1, 2022.2.12f1, 2022.3.1f1
Not reproducible with: 2022.2.11f1, 2023.1.0f1
Could not test with: 2023.2.0a19 (crash)
Reproducible on: macOS 13.2.1 (Intel), Windows 11 (user's)