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
- [iOS] WebCamDevice.availableResolutions returns a single resolution with width and height both 0 on some iOS devices
- Editor freezes when selecting a GameObject in Play Mode with a script containing a public byte array
- Saving moves Toggle Button Group buttons to the wrong place in hierarchy
- [iOS] Visual artifacts are visible when the camera's feed is rendered to a texture
- Error "cannot map expression to ps_4_0 instruction set" in Shader Graph preview when using the GATHER_RED_TEXTURE2D macro in custom hlsl function
This is a duplicate of issue #1296506