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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment