Search Issue Tracker
Duplicate
Votes
7
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.2.5f1
2019.3.0a1
2020.1.0a1
Issue ID
1185524
Regression
No
Prefab instances lose reference when a library is deleted and scripts used for reference are imported after project is loaded
To reproduce:
1. Extract attached project ("case_1185524.zip")
2. Delete Library folder and move Scripts folder out of Assets
3. Open project > "SampleScene" scene from Assets
4. Move Scripts folder back to Assets
5. In Hierarchy select "root-prefab" Game Object
6. Observe the "Inner" element in the Inspector window
Expected result: "Inner" element holds a reference to "inner-ref" Prefab
Actual result: "Inner" element doesn't hold a reference to "inner-ref" Prefab
Reproducible in: 2017.4.32f1, 2018.4.10f1, 2019.2.7f2, 2019.3.0b5, 2020.1.0a6
Note: The Prefab itself still holds a reference and reimporting it will fix the issue
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 warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
This is a duplicate of issue #1216914