When duplicating an element of an array of EditInlineNew UObjects, a reference to the duplicated element is created instead of creating a new UObject that duplicates the initial element's properties. This results in changes to either the original element or the duplicate element also changing the other element.
public: UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Properties") int32 MyValue;
public: UPROPERTY(EditAnywhere, BlueprintReadOnly, Instanced, Category = "ClassData") TArray<UMyObject*> ObjList;
RESULT:
Changing the value for the original or new duplicated element changes the value for both elements.
EXPECTED:
Changing the value for the original or new duplicated element only changes the value for that element.
Update - TimL
======
The behavior noted above still occurs when duplicating elements of an array if the array is a property of a Data Asset class.
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
What property of the Slider is the image used when dragging?
What properties of the progress bar can be used for drag and drop highlighting?
How do I change the rotation matrix of the camera by the direction of the vector?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-20213 in the post.