Search Issue Tracker
By Design
By Design in 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
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
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)
Resolution Note (2023.1.X):
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)