Copying and Pasting an array Element value in Editor changes the source too

Summary

(When in the Editor)
When copying and pasting an array element’s variable value to another element’s same variable value it causes them to remain forever linked.

So after pasting, if you change the value in one array element, it changes it in the other element’s value as well.

This did not seem to be an issue pre 36.00 or 36.100

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Devices

Steps to Reproduce

  1. Make a verse creative_device (Device A)
  2. Make a class (Class B) that holds an editable array of type int (Array X)
  3. Inside the verse creative_device 's code (Class A), make an editable variable of Class B
  4. Compile
  5. Now put the ‘Device A’ in your world
  6. Inside ‘Device A’, navigate to your editable variable of ‘Class B’
  7. Add two array elements to ‘Array X’
  8. Make the value of the element any number
  9. Copy that array’s element
  10. Paste the int into the second Element in the array so the int is the same.
  11. Change ONLY one of the values
  12. Observe that untouched element also gets changed!

Expected Result

Both array element’s values are not supposed to change if only one is edited.

Observed Result

After the array’s element value into a different element of the array, any changes made to one of the elements is reflected back to the source of where it was pasted from.

Platform(s)

Windows PC

they’re aware of this bug, it’s been around for a bit.

1 Like