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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment