Description

If a user removes elements from an array in an instance of that blueprint in the level and then duplicates the actor (in the level ) containing the array, then the resulting actor will have the original number of elements in its array (original meaning the number of elements before removal)

Steps to Reproduce
  1. Open the editor
  2. Create a new Actor blueprint
  3. Create a new Array Variable (of type integer)
  4. Add 5 elements to the array
  5. Set each element to 0,1,2,3,4 respectively
  6. Set the variable to editable
  7. Save and compile
  8. Add the actor to the level
  9. In the details panel for the actor in the level remove all but 2 of the array elements
  10. Set those two elements to 9,5 respectively
  11. Alt+Drag the actor to duplicate it
  12. Notice that the number of array elements have been set back to 5 and that the default values have been set back to the default of the actor blueprint (New elements are: 9,5,2,3,4)

Expected: The duplicated actor would only have 2 array elements
Result: The duplicated actor has 5 array elements (even though the instance the second actor was duplicated from only has 2 elements)

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-42278 in the post.

2
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.15
Target Fix4.16
Fix Commit3340642
Main Commit3358685
CreatedFeb 22, 2017
ResolvedMar 10, 2017
UpdatedApr 27, 2018