Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2021.2.0b7
2022.1
2022.1.0a9
Issue ID
1365373
Regression
Yes
Prefab errors are thrown deleting Prefab instance after making prefab variant and another instance
How to reproduce:
1. Create new project
2. Add new Cube gameobject to the Scene
3. Make the Cube a prefab by dragging it to Project view
4. Do it two more times, once a variant, other an original prefab
5. Drag the Cube 1 (other original prefab instance) to the Hierarchy
6. Delete Cube prefab instance in Project view (select Delete Only option on prompt)
Errors:
2021.2, 2022.1
"Problem detected while importing the Prefab file: 'Assets/Cube 1.prefab'.
The file might be corrupt or have missing nested Prefabs. See details below.
Errors:
Prefab instance problem: Cube (Missing Prefab with guid: 6a067e556ce05c5c7885e0bf069a1cfd)
UnityEditor.ProjectBrowser:DeleteSelectedAssets (bool)"
Only 2022.1
"CheckConsistency: Component Transform has PrefabInstance different from its game object 'Cube 1'. Fixing by settings PrefabInstance to None
UnityEditor.ProjectBrowser:DeleteSelectedAssets (bool)"
"[Worker0] CheckConsistency: Component Transform has PrefabInstance different from its game object 'Cube 1'. Fixing by settings PrefabInstance to None"
Reproduced with: 2021.2.0b7, 2022.1.0a9
Does not reproduce with: 2021.1, 2021.2.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
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
Resolution Note (fix version 2022.1):
The PR that caused this was improving prefabs error logging.
Errors about corrupt prefabs is expected, any other errors e.g. CheckConsistency is not.