Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.2.4f1
Issue ID
UUM-25523
Regression
No
Lighting Data asset is not created when baking many Scenes at the same time
Reproduction steps:
1. Open the attached project "HDRP_Lightbake_Tests_9_2022"
2. Open the Lighting window
3. Click "Generate Lighting"
Reproducible on: 2022.1.18f1
Notes:
- Couldn't reproduce on a new project
- Not fully tested due to the time needed to reproduce
- On 2022.2.4f1 and 2023.1.0b1, after baking for about 1,5h there are no background tasks and no Lighting Data asset (see attached screenshot)
- When generating lighting for one of the composite Scenes, the bake takes ~12 minutes and the Lighting Data asset is created
- Related forum post: https://forum.unity.com/threads/lighting-asset-file-not-saving-after-a-bake.1340828/
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
- A glare from the Light Placement Tool is visible when the Main Camera is set to "Perspective"
- List item is re-selected when moving the mouse after ClearSelection function
- Undocked windows including UITK Debugger disappear when UITK Debugger already has data and Pick Element is pressed again
- Object Picker does not open when a reference is in an array and is clicked on through a non-standard pointer (tablet pen, touchscreen)
- HDRP ShaderGraph Color property gets overridden when it is named "EmissionColor"
Resolution Note:
The root issue seems to be that the scenes used in the bake contains some lightmapped GameObject with 0 scale. In particular, the 2 large planes are scaled 0 on the Y axis. This has exposed a bug within Enlighten which causes it to lock up. As this seems to be in an issue in Enlighten, which we are planning to remove entirely in the near future, we have opted not to fix the issue.
Here are some workarounds:
- Change the problematic renderers to not have 0 scale. Enlighten can not handle 0-scale renderers very well.
- Don't use Enlighten realtime GI if you don't require it.