Search Issue Tracker
By Design
Votes
0
Found in
2020.3
2021.3
2021.3.0f1
2022.1.0a1
2022.2
Issue ID
1417529
Regression
Yes
[Prefab] Errors are thrown when deleting the parent Prefab of a Variant Prefab
Reproduction steps:
1. Create a new project
2. Drag an object from the Hierarchy into the Project window to make a Prefab
3. Drag the same object again and make a Prefab Variant
4. Delete the original Prefab
Expected result: there are no errors
Actual result: "Problem detected while importing the Prefab file" error is thrown
Reproducible with: 2020.3.33f1, 2021.3.0f1, 2022.1.0a1, 2022.1.0b15, 2022.2.0a10
Not reproducible with: 2019.4.37f1, 2021.2.0a20
Error:
Problem detected while importing the Prefab file: 'Assets/Cube Variant.prefab'.
The file might be corrupt or have missing nested Prefabs. See details below.
Errors:
Prefab instance problem: Cube (Missing Prefab with guid: 0404174a4772c8c44bf1fbfd409964eb)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
The error message is by design. It is improved error information that the Variant now has a problem since it is missing its parent Prefab.