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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.