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
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
- Incorrect rotations on bones when importing FBX animations with a Humanoid Rig
- Render Graph Viewer “Pass List” section is flickering when resizing vertically and the Render Graph Viewer window is docked
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
This is a duplicate of issue #1183547