Search Issue Tracker
Won't Fix
Won't Fix in 2022.2.X
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
Comments (5)
-
Akemhas
Oct 14, 2024 10:27
Try turning off the Recalculate Environment setting.
Window > Rendering > Lighting window > Scene > Workflow Settings > Recalculate Environment -
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} -
Rob-Fireproof
Apr 21, 2023 07:58
Still happens in 2021.3.15f1
-
Elapotp
Apr 21, 2022 10:12
Really annoying thing. Please fix that
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Up, Down and other Buttons in a Style Sheet's Inspector unselect items when they are clicked while they are disabled
- Virtual Player remains active and still launches when removed from Additional Editor Instances from a custom Play Mode Scenario
- UI Toolkit Editor Window Creator becomes not interactable and greyed out when a long name is entered
- [Web][iOS] Web Player keeps restarting on launch when Native C/C++ Multithreading is enabled
- "Add Scene to Scenes in Build" pop-up reappears after Scene has already been added and another Multiplayer Editor Instance is loaded
Resolution Note:
The bug is fixed in newer versions found in 2021.3.13f1
Resolution Note (2022.2.X):
The bug is fixed in newer versions found in 2021.3.13f1