Search Issue Tracker

By Design

Votes

0

Found in

2020.3.39f1

2021.3.9f1

2022.1.16f1

2022.2.0b7

2023.1.0a9

Issue ID

UUM-14672

Regression

No

Volumetric Fog and Dynamic Shadow disappear on a GameObject when baking a Lightmap with the GameObject disabled, then enabling the GameObject and re-baking the Lightmap

-

How to reproduce:
1. Open the attached user project
2. Open Scene “ISS_LightBakeTest“ (Assets/Scenes)
3. Bake the Lightmap (Window > Rendering > Lighting, 'Generate Lighting')
4. Activate the “TestLight” GameObject
5. Re-bake the Lightmap (Window > Rendering > Lighting, 'Generate Lighting')

Expected result: All four lights have volumetric fog effects, have light cookies and produce dynamic shadows
Actual result: The “TestLight“ light is broken (No shadow from the “Sphere (11)” GameObject and only the light on the “Cube (8)“ GameObject is visible)

Reproducible with: 2020.3.39f1, 2021.3.9f1, 2022.1.16f1, 2022.2.0b7, 2023.1.0a9

Reproduced on: macOS (12.5)

  1. Resolution Note:

    This is working as designed. One of the spot lights is getting converted to fully baked because we only have 4 channels in the baked shadow mask texture (directional light plus 3 spots). The probe lit sphere is dark because the ambient probe is dark. Placing a Light Probe Group in the scene and surrounding the sphere with light probe positions will let the sphere pick up correct indirect lighting.
    Another option is to use smaller range/shape of the lights so they don't overlap.

Add comment

Log in to post comment