Search Issue Tracker

Fixed

Fixed in 2020.3.43f1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a12

Votes

0

Found in

2019.4.39f1

2020.3.35f1

2021.3.4f1

2022.1.3f1

2022.2.0a15

2023.1.0a3

Issue ID

UUM-2655

Regression

No

Prefab opened in Context can have its root duplicated creating uninteractable GameObjects that don't get saved with the Prefab

--

-

How to reproduce:
1. Create a new project
2. Go to the menu bar: GameObject > UI > Legacy > Button
3. Drag the "Button (Legacy)" GameObject from the Hierarchy to the Assets folder in the Project panel to create a Prefab
4. In the Hierarchy right-click the "Button (Legacy)" GameObject and go to: Prefab > Open Asset in Context
5. Select the greyed out root of the Prefab and press Ctrl+D to duplicate it
6. Save the Prefab and return to the scene view
7. Repeat step 4
8. Observe the Prefab's content in the Hierarchy

Expected result: Either the root of the Prefab cannot be copied or the changes made are saved with the prefab
Actual result: The root Prefab's in context view is duplicated but the duplicates aren't saved

Reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.4f1, 2022.1.3f1, 2022.2.0a15

Reproducible on: Ubuntu 20.04, Windows 10

Note: The same behavior is reproducible when copying using Ctrl+C/X and Ctrl+V

  1. Resolution Note (fix version 2023.1.0a12):

    Fixed in 2023.1.0a12

  2. Resolution Note (fix version 2022.2.2f1):

    Fixed in 2022.2.2f1

  3. Resolution Note (fix version 2021.3.16f1):

    Fixed in 2021.3.16f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.