Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2018.4
2020.1.5f1
2020.2
Issue ID
1277419
Regression
No
SerializedProperty array values get copied from one Asset to another when modifying the array while having two Assets selected
How to reproduce:
1. Open user's attached "ArrayBug" project (and replace SpriteAssetEditor.cs with newer version of attached here)
2. In the Hierarchy select "Sprite Asset 1" and "Sprite Asset 2" together
3. In the Inspector press the "Add New (Broken)" button
Expected results: The old values stay the same they were on the Assets
Actual results: The values get copied from one Asset to another
Reproducible with: 2018.4.27f1, 2019.4.10f1, 2020.1.6f1, 2020.2.0b3
Notes:
- The issue is reproducible when using the arraySize++ and DeleteArrayElement functions
- The issue is not reproducible when using intValue++ function
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (fix version 2021.1):
Fixed in Unity 2022.1.0a4