Search Issue Tracker
Duplicate
Votes
0
Found in
2019.4
2020.3
2022.2
Issue ID
1412309
Regression
No
[SkyManager] Environment Lighting Settings ignored when scene is Load with LoadSceneMode.Additive
Step to reproduce:
1. Download the package from the link in comments
2. Create a new URP project in Unity2020 or above.
3. In Editor mode, Open SceneA, drag Scene B into it. Right click SceneB and select 'set active scene'. You will see the cube in the camera become white.
4. Next, set SceneA active and enter play mode. Repeat the process to set SceneB active, it is expected to see the cube become white but you will see the cube become darker instead.
Explain in detail:
1.Scene A in the package has set the Environment Light intensity multiplier to 1
2.Scene B in the package has set the Environment Light intensity multiplier to 2
3.When Load Scene B Additive in edit mode in editor the light intensity is set to 2
4.When Load Scene B Additive in play mode in editor the light intensity is set to 0 which is not reasonable.
I also have find out that there is no such issue in build-in pipeline. The issue does not appear in URP when the Environment lighting source is not set to the Skybox.
Workaround is to manually bake Lighting for Scene B in the Lighting window.
Notes:
- Also reproducible in built-in (legacy) RP.
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
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
This is a duplicate of issue #1407064