How to reproduce:
1. Open the attached project "LightLayerBug.zip"
2. Select the "Sphere" GameObject in the Hierarchy window
Expected results: Lighting doesn't break
Actual results: Lighting breaks
Reproducible with: 2023.2.0a22
Not reproducible with: 2021.3.30f1, 2022.3.10f1, 2023.1.14f1, 2023.2.0a23, 2023.2.0b10, 2023.3.0a6
Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested