Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Duplicate in 2020.2.X
Votes
0
Found in
2019.4
2019.4.3f1
2020.1
2020.2
2021.1
Issue ID
1296506
Regression
No
URP ScriptableObject SerializeField value set to default during the first Import
How to reproduce:
1. Extract the attached project named "URP_SerializeFieldCase.zip" and open the SerializedScripts folder
2. Update the timestamps for each of the files located in this folder (Three scripts in total) - adding an empty newline or space is enough to update them
3. Copy and Paste the contents from SerializedScripts to the Assets folder. 3 Files should get replaced
4. Launch the project
5. Select the UniversalRenderPipelineAsset_Renderer
6. Observe the Inspector window once more
Expected results: UniversalRenderPipelineAsset_Renderer contains the Test field and its value is set to 42
Actual results: UniversalRenderPipelineAsset_Renderer contains the Test field, however, its value is set to -1
Reproducible with: 2019.4.16f1, 2020.1.16f1, 2020.2.0b14, 2021.1.0a9
Could not test with: 2018.4.30f1(Missing script references)
Notes:
1. The Test field is set to 42 after the project is restarted
2. To reproduce the issue again, delete the project files, re-extract URP_SerializeFieldCase.zip and repeat the repro steps
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
- Multiple exceptions are thrown after exiting Play mode when Layout Group component is displayed in Debug Inspector and Padding section is expanded
- ScrollView elements are not restored to their original positions after removing a Layout Group with Undo action
- "Assembly with name already exists" errors are thrown when two packages with different technical names resolve to the same namespace
- A Select Scene Entry is added to Undo History when Deleting while a Scene is selected in the Hierarchy
- The Add Component Menu's back arrow accumulates phantom levels when the Menu is repeatedly opened into a Category and closed without selecting
Resolution Note (fix version 2021.2):
Fixed in - 2021.2.0a7
Resolution Note (fix version 2021.1):
Fixed in 2021.1.6f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.8f1
Resolution Note (fix version 2019.4):
Fixed in - 2019.4.24f1