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
- Progress indicator in Meta Quest Build Profile configuration is barely visible
- Slightly transparent objects disappear completely in Web Player when using RenderGraph
- Visual Scripting Components are hidden behind a throbber when Multiplayer Play Mode is running with at least one local instance
- Video Player does not throw an error when playing a video with unsupported encoding settings
- Errors indicating that TMP Extras were not Imported logged when opening the Render Pipeline Converter Window while in Play Mode
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