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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
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.