Happning from version 36.00, when using an Editable variable as an array of Class type, copying the parameters from one index to another causes the parameters of each index to become synchronized.

Summary

In 36.00, when preparing a Class to be handled as an Editable variable and using that Class in an array, if you copy the element at Index 0 to another index, changes to the parameters of Index 0 and the copied index become synchronized.

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

  • Create a VerseDevice using the snippet provided in the thread.
  • Add two indices to the array variable.
  • Right-click on the first index, select ā€œCopyā€, and paste it to the second index.

Expected Result

The parameters of Index 0 are copied, but changes to each index remain independent.

Observed Result

The parameters of Index 0 are copied, but from that point onward, changes to each index affect the other.

Platform(s)

Windows 11

Video

Additional Notes

It appears that this issue does not occur with regular arrays, and only happens when a Class is treated as Editable. Therefore, the synchronization occurs even when it’s not part of an array.

Snipet is here:

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }

class_test := class:
@editable
ID : int = 0

Array_Bug_Test := class(creative_device):

@editable
TestArray : []class_test = array{}

OnBegin<override>()<suspends>:void=

    return
1 Like

FORT-922419 has been created and its status is ā€˜Unconfirmed’. This is now in a queue to be reproduced and confirmed.

We also had this problem, I was going to post this as a bug but hadn’t got around to it. Easily repo’d if you just make an array as an editable of a device, duplicate the device, fill one array up and then copy that from the device and paste in the other. The two will sync up now.

1 Like

Also, this can be any kind of data type in the array, type is irrelevant it seems.

1 Like

Thank you GrameBB,
I’m glad to know I’m not the only one experiencing this!

This is just out of curiosity, but what types of variables did you test with?
In my case, I tried using basic types like Int and Float separately from the Class, and the issue didn’t occur with the regular types. It only seemed to happen when the variable was wrapped in a Class.
If the issue also occurs with Structures or other types, that could be useful information to know.

we found this first using creative_prop as the data type.

Thank you for info, GraemeBB!

In my environment as well, I encountered the issue where the Editable property of a CreativeProp gets synced when copied.

Hey @Flak ,
Could you confirm this issue?