Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.3.0a1
2019.3.0f6
2020.1
Issue ID
1217774
Regression
Yes
Calling AssetDatabase.ImportAsset() on a prefab, while having a reference to the prefab objects, breaks the references
How to reproduce:
1. Open the attached project
2. Go to top toolbar's BugTest->ScriptableObject Reference Test
3. Drag SOTest Asset to "ScriptableObjectLoader" Scriptable Object's field
4. Inspect the entries
5. Reimport one of the following, "Cube" or "Cube 1" in Assets
6. Inspect the entries again
Expected result: Entries for the reimported Prefab are not changed
Actual result: Entries for the reimported Prefab are null
Reproducible with: 2019.3.0a1, 2019.3.1f1, 2020.1.0a23
Not reproducible with: 2017.4.37f1, 2018.4.17f1, 2019.2.21f1
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
- [iOS] The safe area value changes when reopening the app in Landscape orientation
- Light flickering when using Forward+ on Mobile
- Prefab's scripts are constantly reloaded when trying to enter multiple digits or characters into public fields on custom scripts consecutively
- Crash on mono_g_hash_table_find_slot when entering Play Mode
- [iOS] Crash when pressing "Done" on the keyboard layout
Resolution Note (fix version 2020.1):
Fixed in Unity 2020.1.0a24
Resolution Note (fix version 2019.3):
Fixed in Unity 2019.3.4f1