Description

Copying a blueprint instance will reset array values if new element has been added. Repro project is using a variable type of Static Mesh but this also happens with other variable types as well.

User Description:

Just noticed that BPs lose default values when duplicated via Alt+Drag in the editor. To reproduce: - Create a BP actor and add an editable array variable of type static mesh reference to it. - In the BP editor; add two elements to the array and assign default meshes. - Drag an instance of the BP actor into the level. - Add a third element to the array of the actor in the level and assign a mesh to it. - Alt+Drag the actor in the level to duplicate it. * Observe that the duplicated actor, while still having three array elements, only the last one is assigned. The first two entries are void.

Steps to Reproduce
  1. Open the attached test project
  2. In the Content Browser, add the NewBlueprint to the level
  3. In the Details panel, add a 3rd element to the array and set it to any mesh
  4. Use Alt-Mouse Drag to make a copy of the BP

Results: The values for element 1 and 2 will be set to None for the copied BP

Expected: For the new BP to keep all set values as well as the 3rd element

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

2
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.15.34.16.24.17
Target Fix4.18
Fix Commit3547152
Main Commit3582334
Release Commit3643070
CreatedJul 17, 2017
ResolvedJul 20, 2017
UpdatedApr 27, 2018