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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment