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/

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.