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
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
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
- 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
- “GUIStyle” and “NullReferenceException” errors thrown in the Console when opening Object Field during script compilation
- Reflections are visible on objects without Recursive Rendering when viewed through transparent parts of another object with Recursive Rendering and Alpha Clipping enabled
- Visual artifacts appear when using "clip" method in custom shader and running on GLES
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)