Reproduction steps:
1. Open the attached “IN-94576.zip” project
2. Open the “SampleScene”
3. From the Hierarchy, select the “Directional Light” GameObject
4. In the Inspector, make sure the Light “Mode” is set to “Mixed”
5. Open the “Lighting” Window (Window > Rendering > Lighting)
6. Click “Generate Lighting”
7. Observe the “model_Props_Barrel_Occluded_A” and “model_Props_Barrel_Occluded_B” GameObjects
Expected result: The GameObjects are occluded and not lit
Actual result: The GameObjects are lit
Reproducible with: 6000.0.35f1, 6000.0.40f1, 6000.1.0b8, 6000.2.0a5
Not reproducible with: 6000.0.34f1
Couldn’t test with: 2022.3.59f1 (APV not available)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Setting the Light “Mode” to “Baked” and then Generating Lighting, shows the expected result