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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
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.