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
- Outdated page opens when accessing Sprite Atlas v2 reference page
- "DateTime.Now" in the UK timezone does not adjust when the British Summer Time is active
- "Unsupported source texture format (7) in ComputeNextMipLevel" error is shown and the texture atlas is corrupted when the texture format "RGB Compressed ETC2 4bits" is selected
- The label that uses data binding is no longer updated at runtime when `INotifyBindablePropertyChanged` reloads updates of the VisualTreeAsset in UIDocument
- HDRP Graphics "High Quality Line Rendering" is missing a documentation link
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.