Search Issue Tracker
By Design
Votes
0
Found in
2021.3.39f1
2022.3.31f1
6000.0.37f1
Issue ID
UUM-73151
Regression
No
Environment Lighting information gets lost when loading a scene additively
Reproduction steps:
1. Open the attached "ReproProj" project
2. Open the “Assets/Scenes/SampleScene” scene
3. Enter the Play mode
4. Press the space key
5. Observe the Game view
Expected Result: The scene does not change color and remains white
Actual Result: The scene changes color and becomes brown
Reproducible with: 2021.3.39f1, 2022.3.31f1, 2023.2.0a17
Could not test with: 2023.2.0a18, 6000.0.4f1 (the scene has no lighting after launch, requiring to Generate Lighting)
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
Notes:
- Not reproducible in Standalone Player
- The issue no longer reproduces after generating lighting
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
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
- "Visual Effect Event Tester" Overlay is cut off when using the Scene View not in standard dimensions
- Visual Effect overlay has no tooltips for the playback controls
- Github link in the Rider tab of Preferences window has no padding on the left side and is not aligned with the other elements
Resolution Note:
This is a known design flaw of the SkyManager, which is the system that bakes environment lighting temporarily for scenes that have none. https://docs.unity3d.com/Manual/using-skymanager.html
This system doesn't work in play mode. Hence, when the scene is switched, environment lighting is missing, because it hasn't yet been written to disk.
The workaround is to simply manually generate lighting for each scene where environment lighting is desired. This can be done via Window -> Rendering -> Lighting -> Generate Lighting.
In newer versions of Unity, this system no longer exists, the issue only applies to versions before 2023 LTS.