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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
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.