Search Issue Tracker

In Progress

Fix In Review for 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

  1. Resolution Note (fix version 6000.0.2f1):

    Treating RenderSettings.m_IndirectSpecularColor as volatile data

  2. Resolution Note (fix version 2022.3.29f1):

    Treating RenderSettings.m_IndirectSpecularColor as volatile data

  3. Resolution Note (fix version 2021.3.39f1):

    Treating RenderSettings.m_IndirectSpecularColor as volatile data

Comments (2)

  1. 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

  2. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.