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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
This is a duplicate of issue #1296506