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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
This is a duplicate of issue #1183547