Search Issue Tracker
Won't Fix
Won't Fix in 2022.2.X
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.
Resolution Note (2022.2.X):
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.