Search Issue Tracker
Fixed
Fixed in 6000.2.0a7, 7000.0.0a28
Votes
0
Found in
2021.3.42f1
2022.3.41f1
6000.0.14f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-79620
Regression
No
GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
How to reproduce:
1. Open the “PrefabVariantBug.zip“ project
2. Open the “SampleScene“
3. Select the “Reference” GameObject in the Hierarchy (observe the existing reference to “Prefab 3“ in the Script Component)
4. Double-click the “Prefab 3“ Prefab in the Project tab to enter the Prefab Edit Mode
5. Right-click the “Prefab 3” Prefab in the Hierarchy and select (Prefab > Unpack) once (for the base Prefab to become “Prefab 1”)
6. Save the changes and exit the Prefab Edit Mode
7. Select the “Reference“ GameObject in the Hierarchy
8. Observe the Inspector
Expected result: The “Prefab 3“ Prefab is still referenced in the Script Component
Actual result: “Missing (Game Object)“ is displayed in the Script Component
Reproducible in: 2021.3.42f1, 2022.3.41f1, 6000.0.14f1
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Note: If the variant is unpacked twice or completely the reference does not become missing
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Project disappears from the Projects list in Unity Hub when the Editor crashes
- The Terrain tools follow the previous Terrain curvature when it was already undone
- Incorrect UI wording: Missing articles in project creation options
- “[Worker0] InvalidOperationException: Cannot create a new scene additively with an untitled scene unsaved.” error thrown when closing converted Sub Scene in Inspector window
- “InvalidOperationException: Trying to set the parent for HierarchyNodeHandle” errors spammed in the Console when converting Sample Scene to Sub Scene and Entities Hierarchy window is open
Add comment