Search Issue Tracker
Duplicate
Votes
0
Found in
2019.3.0a2
2019.3.0f1
2020.1
Issue ID
1203848
Regression
No
ScriptableObject using SerializeReference loses reference to the instance implementing interface after restarting Unity
How to reproduce:
1. Open attached project ("SerializeReferenceBug.zip")
2. In Project window right-click menu->Create->ScriptableObjects->Bug_ScriptableObject
3. In Project window select created Bug_ScriptableObject asset
4. In Inspector window top-right corner click on the cog icon
5. Click on Create Instance, then on Print
6. Close and Reopen Unity editor
7. In Project window select Bug_ScriptableObject asset
8. Click on Print again
Expected result: Reference is persisted
Actual result: Reference is lost
Reproducible with: 2019.3.0f2, 2020.1.0a16
Not tested with: 2017.4.34f1, 2018.4.14f1, 2019.2.15f1, 2019.3.0a1
Note: before version 2019.3.0a2, SerializeReference was inaccessible due to its protection level. Unable to test in versions earlier than 2019.3.0a1 due to SerializeReference being unavailable.
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
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
This is a duplicate of issue #1183547