Search Issue Tracker

Won't Fix

Votes

2

Found in

2019.4

2020.3

2020.3.6f1

2021.1

2021.2

2022.1

Issue ID

1347479

Regression

No

Lightbaking breaks when baking multi-scene setups with different scene combinations

Progressive Lightmapper

-

How to reproduce:
1. Open the attached project's Scenes labeled "Loc_geo" and "Loc_log"
2. Load the "Mis_1_geo" and "Mis_1_log" scenes additively
3. Make the "Mis_1_geo" as the active scene (Right-click -> Set Active Scene)
4. Generate Lighting
5. In the Project Window, inspect the baked lighting data inside the folder named after the active scene
6. Note that the scene has shared lighting data
7. Unload both the "Mis_1_geo" and "Mis_1_log" scenes
8. Load the "Mis_2_geo" and "Mis_2_log" scenes additively
9. Make the "Mis_2_geo" as the active scene (Right-click -> Set Active Scene)
10. Generate Lighting
11. Note that the previously active scenes data has been removed

Expected result: Lighting data can be used with scene combinations and share data between additive scenes that use the same base scene
Actual result: The light baking data is in a state where the information and lightmaps are still there but in a "broken" state, with reference between "LightingData"-Assets and scenes not working anymore

Reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b5, 2022.1.0a3

  1. Resolution Note:

    Bug will be handled as part of the integration of Baking Sets into the Lighting Window. In the meantime manipulations through the UI or scripts can be used as workarounds (https://forum.unity.com/threads/multi-scene-lightbaking-with-some-scenes-being-variable.1131169/#post-8098403)

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.