Search Issue Tracker
By Design
Unknown (hidden) 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X
Votes
0
Found in
2021.3.11f1
2022.1.18f1
2022.2.0b10
2023.1.0a13
Issue ID
UUM-16409
Regression
No
HDRP Lightmaps turn dark when Generating Lighting
How to reproduce:
1. Open the user-attached project
2. Open the “MainMenuScene” Scene
3. Open the Lighting window (Window → Rendering → Lighting)
4. Generate the scene Lighting (Generate Lighting)
Expected result: GameObjects in the Scene are properly lit
Actual result: Multiple GameObjects are darker than they should be
Reproducible with: 12.1.7 (2021.3.11f1), 13.1.8 (2022.1.18f1), 14.0.3 (2022.2.0b10), 15.0.1 (2023.1.0a13)
Couldn't test with: 2020.3.40f1 (GameObjects disappear and reproduction is not visible)
Reproduced on: macOS Monterey 12.0.1 (Intel)
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note:
The lighting bakes correctly, you can verify this by observing the indirect diffuse output in the rendering debugger (Window -> Analysis -> Rendering Debugger -> Lighting -> Lighting Debug Mode -> Indirect Diffuse Lighting).
The reason why it gets darker is because before baking all the indirect diffuse comes from the ambient probe (i.e. the sky probe) without any kind of occlusion taken into account. As more precise baking is done, areas will be correctly more occluded. You can observe this with the same debug view I mentione above how before baking the indirect diffuse is overly bright (and flat)