Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2020.3.X, 2021.3.X
Votes
0
Found in
Issue ID
1398368
Regression
No
Assigning a lighting data asset causes the lightmaps to be unloaded for all scenes except the active one
With multiple scenes opened in Unity. Assigning a lighting data asset in the lighting window tab, causes the lightmaps for the other scenes to be unloaded in the editor 3D view. Bug discovered while investigating that other issue: https://fogbugz.unity3d.com/f/cases/1347479/
Steps to reproduce:
You can use the project from https://fogbugz.unity3d.com/f/cases/1347479/: https://bugs.unity3d.com/fogfiles/134xxxx/1347479_icgk96oqsg6rrk77/ (but it is reproducible as long as you open at least 2 scenes in additive mode the editor)
- Open additively at least 2 scenes
- Bake lighting
- Go to Lighting Window / Baked Lightmaps / Lighting data asset field
- In the Lighting Data Asset field click on button on the right to open the "Select Lighting Data Asset" popup. Click on the currently assigned lighting data asset
- Now all baked lighting data has disappeared for the other scene. For instance the lightmaps list is now shorter and in the editor view gameobjects of the other scene have lost their lightmaps.
Expected behaviour: assigning the same file in the Lighting Data Asset field should not change anything
Reproducible with 2022.2.a01, 2022.1.b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment