Search Issue Tracker
Fixed in 2017.3.0f3
Votes
0
Found in
4.5.2f1
Issue ID
627322
Regression
No
Inspector doesn't immeadiately reflect changes in arrays when an element is deleted
To reproduce:
1) Create new project
2) Create script which would have a public array, like this: (C# example)
using UnityEngine;
public class Foo : MonoBehaviour {
public int[] i = new int[5];
}
3) Attach it to camera
4) Change the array values so each element would be different
5) Highlight one of the element values(i.e. click on one of the numbers) and right click the element to delete it from array. It looks like it deletes an element below it. Click on some other element and now array correctly reflects that the element highlighted was deleted and not the element below. To visualize, if in array of [1,2,3,4,5], if you highlight value '2' and delete it, it will at first show [1,2,4,5] but after selecting something else it will show [1,3,4,5]
6) If you just right click "Element X" part and delete it, the changes are shown immedieately. For example, in same [1,2,3,4,5] array, if clicking on "Element 1" and clicking shift+del, it immeadiately shows [1,3,4,5]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment