Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
2019.4
2019.4.13f1c1
2021.1
Issue ID
1288915
Regression
No
[HDRP] Black lightmap when generating GI from HDRI sky with the "Baked Lightmap" visualization after re-opening the Editor
How to reproduce:
1. Open the user's attached "Lightmapping1.zip" project
2. Open the "Lighting" Scene
3. Make sure Scene view Draw Mode is set to Shaded
4. Press "Generate Lighting" in the Lighting window (Window -> Rendering -> Lighting)
5. Set the Scene view Draw Mode to Baked Lightmap
6. Press "Generate Lighting" in the Lighting window
7. Observe that the "Lightmap-0_comp_light" Asset
8. Re-open Unity Editor
9. Repeat 6-7 steps
Expected result: The "Lightmap-0_comp_light" Asset is blue (step 7) and the "Lightmap-0_comp_light" Asset stays blue after generating the lighting after re-opening the Unity Editor (step 9)
Actual result: The "Lightmap-0_comp_light" Asset is blue (step 7) and the "Lightmap-0_comp_light" Asset becomes dark yellow after generating the lighting after re-opening the Unity Editor (step 9)
Reproducible with: 2019.4.14f1, 2020.1.12f1, 2021.1.0a2
Could not test with: 2018.4.28f1 (Assets get corrupted when downgrading), 2021.1.0a3 ("IndexOutOfRangeException: Invalid kernelIndex (0) passed, must be non-negative less than 1" on Shaded Scene view)
Notes:
- Reproducible with both GPU and CPU Lightmappers;
- Reproducible only for the HDRI sky; not reproducible for the directional light;
- The workaround is to rebake the lighting with the Shaded Scene view visualization mode enabled.
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #1277157