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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.