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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #1216914