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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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