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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
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.