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
- Sprite shadows are not rendered when the light source is placed near the sprite
- Multiple Video Players are not playing simultaneously when played in WebGL
- "Rename Prefab File?" window does not pop up when renaming Prefab in the Project window
- [Linux] Crash on MenuController::ExecuteMenuItem when selecting recent scene
- Warnings appearing in the Console window when creating a new URP 3D Sample project
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.