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
- [Android][iOS] The keyboard closes and re-opens when consecutive input fields are selected
- Complex Sub Graph connected to a Voronoi node is ignored when the shader gets applied as a Material
- Compute Shader property not set error when entering play mode with path tracing and PBR sky
- "WebGL Publish" detects WebGL module and allows building when it is installed without restarting the project
- Editor is non-responsive and flickers when multiple Water System instances are enabled
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.