Search Issue Tracker
Fixed
Fixed in 2021.3.39f1, 2022.3.29f1, 6000.0.2f1
Votes
3
Found in
2021.3.29f1
2022.3.8f1
2023.1.10f1
2023.2.0b6
2023.3.0a2
6000.0.0b11
Issue ID
UUM-46853
Regression
No
"m_IndirectSpecularColor" changes every time when changes are made to the scene
Reproduction steps:
1. Upload project “save_repro.zip” to a version control repository
2. Open project “save_repro.zip”
3. Open “OutdoorsScene”
4. Select “Main Camera” in the Hierarchy and move its position on Y axis from 0 to 0.3
5. Save the scene
6. Observe “Assets/OutdoorsScene.unity” in the version control repository
Expected result: “m_IndirectSpecularColor” has not changed
Actual result: “m_IndirectSpecularColor” has changed
Reproducible with: 2021.3.29f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a2
Reproducible on: macOS Ventura 13.2.1 (Intel)
Not reproducible on: no other environment tested
Note: might to be caused by the Physically Based Sky effect
Comments (2)
-
rgustafson
Apr 05, 2024 18:40
seeing sky color reserialization diff on scene file when changing something in scene hierarchy:
- m_IndirectSpecularColor: {r: 0.12715052, g: 0.24939102, b: 0.35011643, a: 1}
+ m_IndirectSpecularColor: {r: 0.12720121, g: 0.2493818, b: 0.34966052, a: 1}no physical based sky, just a material with a Skybox/Panoramic shader and a 360 lat-lon layout image
-
ariel_coppes
Jan 05, 2024 13:34
I am reproducing the issue by having two scenes loaded in the hierarchy, and depending the active scene, when I hit play/stop the active scene m_IndirectSpecularColor is being automatically modified by unity, it makes sense when the active scene is the one with lighting stuff configured but when the active scene is the other one it makes no sense to modify that serialized value.
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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Resolution Note (fix version 6000.0.2f1):
Treating RenderSettings.m_IndirectSpecularColor as volatile data
Resolution Note (fix version 2022.3.29f1):
Treating RenderSettings.m_IndirectSpecularColor as volatile data
Resolution Note (fix version 2021.3.39f1):
Treating RenderSettings.m_IndirectSpecularColor as volatile data