Search Issue Tracker
Duplicate
Votes
3
Found in
2017.4
2019.3.8f1
2020.2
Issue ID
1235172
Regression
No
New variable field set to default when importing Serialized ScriptableObject
Reproduction steps:
1. Open attached project "ScriptableBug.zip"
2. In Project folder, copy the contents of "\NEW" into "\Assets"
3. In Project window, reimport "script.cs"
4. In Project window, select "ScriptableTest" ScriptableObject
5. In Inspector window, observe value of "TEST"
Expected result: The value is "999"
Actual result: The value is "0"
Reproducible with: 2017.4.40f1, 2018.4.22f1, 2019.3.11f1, 2020.1.0b6, 2020.2.0a7, 2020.2.0a15
Note:
Restarting the project after the reimport fixes the issue.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1296506