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
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
- Player Tags list shows extra blank space behind the scrollbar in the "Player Tags" settings window
- Edit Angular Limits gizmo handles are small and easy to miss-click in the Scene view
- Duplicate Player Tag save fails silently with no error or validation message
- Letters on the left side move further as Letter Spacing is increased when Advanced Text Generator is used and Alignment is set to Center
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