Search Issue Tracker

Won't Fix

Votes

11

Found in

2019.4.36f1

2020.3.32f1

2021.2.17f1

2022.1.0b14

2022.2.0a10

Issue ID

UUM-2995

Regression

No

m_IndirectSpecularColor changes when another URP scene is reserialized

--

-

Reproduction steps:
1. Open the project "1398073_IndirectColor"
2. Open Assets/Scenes/SampleScene.unity in a text editor
3. Check "m_IndirectSpecularColor", its value should be \{r: 0, g: 0, b: 0, a: 1}
4. Open Assets/URPScene in Unity
5. Right click on the "URPScene" in the Project window and click "Force reserialize assets"
6. Check "m_IndirectSpecularColor" again

Expected result: m_IndirectSpecularColor is the same (m_IndirectSpecularColor: \{r: 0, g: 0, b: 0, a: 1})
Actual result: m_IndirectSpecularColor is different (m_IndirectSpecularColor: \{r: 0.44407046, g: 0.49331486, b: 0.57238823, a: 1})

Reproducible with: 7.1.1 (2019.4.36f1, 2020.3.32f1), 12.3.1 (2021.2.17f1), 13.1.7 (2022.1.0b14), 14.0.2 (2022.2.0a10)

Notes:
-Not reproducible when force reserializing "EmptyScene"
-"URPScene" Scene was created using: File > New Scene > Standard (URP)
-"EmptyProject" Scene was created using: File > New Scene > Empty

  1. Resolution Note:

    The bug is fixed in newer versions found in 2021.3.13f1

Comments (4)

  1. rgustafson

    Apr 05, 2024 18:15

    still happening in 2022.3.21
    Changing something unrelated gives a git diff of
    - 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}

  2. Rob-Fireproof

    Apr 21, 2023 07:58

    Still happens in 2021.3.15f1

  3. Elapotp

    Apr 21, 2022 10:12

    Really annoying thing. Please fix that

  4. JonasRara

    Apr 04, 2022 13:44

    > -Not reproducible when force reserializing "EmptyScene"

    That's not quite correct. If "m_IndirectSpecularColor" is any value other than RGBA(0,0,0,1) then force reserializing "EmptyScene" will set it to RGBA(0,0,0,1). You can go back and forth between the values by alternating between reserializing URPScene and EmptyScene.

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.