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
- UI performance degradation when a graph asset has hidden VisualElements
- The CaptureScreenshot method scales UI incorrectly when using an orthographic camera and both superSize and canvas planeDistance are above 1
- URP Render Graph's ColorGradingLUT pass causes GC.Alloc every frame when a custom lookup texture is provided
- [Android] Player with the specific Video clip crashes on "/apex/com.android.runtime/lib/bionic/libc.so (__memcpy_a53+96)" when the video is bundled with other video clips and Codec is set to VP8
- The Console window is not cleared when scripts are recompiled and the "Clear on Recompile" option is enabled
This is a duplicate of issue #1296506