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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment