Search Issue Tracker
By Design
By Design in 2023.1.X
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
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.
Resolution Note (2023.1.X):
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.