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
-
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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Resolution Note:
The bug is fixed in newer versions found in 2021.3.13f1