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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
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.