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
- Make a verse creative_device (Device A)
- Make a class (Class B) that holds an editable array of type int (Array X)
- Inside the verse creative_device 's code (Class A), make an editable variable of Class B
- Compile
- Now put the ‘Device A’ in your world
- Inside ‘Device A’, navigate to your editable variable of ‘Class B’
- Add two array elements to ‘Array X’
- Make the value of the element any number
- Copy that array’s element
- Paste the int into the second Element in the array so the int is the same.
- Change ONLY one of the values
- 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