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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
This is a duplicate of issue #1216914