Search Issue Tracker

Fixed

Fixed in 2022.2.X, 2022.2.0a6

Votes

0

Found in

2022.1.18f1

2022.2.0a5

Issue ID

UUM-15860

Regression

Yes

[Linux] Array Element doesn't duplicate/delete when clicking "Duplicate/Delete Array Element" on an Array Element in a Prefab GameObject

Linux

-

Reproduction steps:
1. Open the attached project “IN-15122.zip”
2. Open the “Assets/Scenes/Repro.unity” scene
3. In the Hierarchy Window, click “Repro” GameObject
4. In the Inspector Window, right-click any element in an array and click “Duplicate Array Element”
5. Observe that the selected element did not duplicate
6. Open the “Assets/ReproListArray.cs” script file
7. Add an empty line to the script file and save it
8. Repeat steps 3-4
9. Observe that the selected element duplicated

Expected result: Array Element duplicates
Actual result: Array Element duplicates only after recompiling scripts

Reproducible with: 2022.1.0b1, 2022.1.18f1, 2022.2.0a5
Not reproducible with: 2020.3.40f1, 2021.3.11f1, 2022.1.0a16, 2022.2.0a6, 2022.2.0b9, 2023.1.0a12

Reproducible on: Ubuntu 20.04.5 LTS
Not reproducible on: Windows 11 Pro 21H2

Notes:

  • If the “Repro” GameObject is deselected and then reselected, “Duplicate Array Element” doesn’t work again
  • The same issue with “Delete Array Element”
  • Duplicating with CTRL+D works as expected

Add comment

Log in to post comment