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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment