Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.1.0a6
Issue ID
1357456
Regression
No
Prefab in the scene loose its connection to the main prefab in Assets folder after rename on disc
How can we reproduce it
1 Create new project
2 Create a prefab (by dragging GameObject from Scene View to Project Browser )
3 Add prefab to the Scene
4 Find it in Project Browser, RightMouseButton->Show In Explorer and then rename prefab file in Windows Explorer(do not rename .meta file)
5 Go back to Unity Editor
Actual results:
Prefab in Project Browser is renamed correctly, Prefab in the scene lost its connection to the main prefab (prefab name in scene became red)
Expected results: prefab in Scene should not loose connection to the one in Assets folder (Project Browser)
Reproduces on: 2018.4.31f1, 2019.4.29f1, 2020.3.14f1, 2022.1.0b6
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
Resolution Note:
It is well known that you should rename both the asset and the .meta file if you don't want to lose references. This applies to all assets, not just prefabs.
If you forget to rename the .meta the asset pipeline thinks it is a new assets and will assign it a new GUID and hence all existing references are lost. We can't fix this.