Search Issue Tracker
By Design
By Design in 2023.1.X
Votes
1
Found in
2023.1.0a1
Issue ID
UUM-1345
Regression
No
Skybox lighting doesn't update when switching Scenes using SceneManager
Reproduction steps:
1. Open the attached project
2. Open "Lit Scene" Scene in the Assets folder of the Project window
3. Enter Play Mode
4. Observe the lighting of the Scene
5. Open "Unlit Scene" Scene in the Assets folder of the Project window
6. Enter Play Mode and wait 2 seconds
7. Observe the lighting of the Scene
Expected result: the Skybox lighting should be identical to the "Lit Scene" Scene when the Scene was played directly
Actual result: there's no Skybox lighting
Reproducible with: 2019.4.38f1, 2020.3.33f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a12
Workaround is to enable Auto Generate checkbox in the Lighting window on the "Lit Scene".
Notes: the "Unlit Scene" Scene has no "Lighting Settings Asset" assigned, thus the "Auto Generate" option on the "Lighting.lighting" Asset has no effect
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
This is a known design flaw of the SkyManager, which bakes environment lighting temporarily for scenes that have none.
The workaround is to simply manually generate lighting for each scene where environment lighting is desired.
Resolution Note (2023.1.X):
This is a known design flaw of the SkyManager, which bakes environment lighting temporarily for scenes that have none.
The workaround is to simply manually generate lighting for each scene where environment lighting is desired.