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
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
- Display issues in VideoPlayer when using Screen.SetResolution on certain Google Pixel devices
- Crash on Texture::TextureIDMapInsert when opening a specific project
This is a duplicate of issue #1183547