TMap duplicated keys

Hello, I think I have found bug concerning TMap and DataTable. According to [TMap documentation][1], its keys are unique, but when using data tables I can insert multiple elements of the same key (debugger shows the same key inserted more than once as well). I am using an enumerated type as the key, and the TMap is declared as follows:

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Attributes)

TMap<EAttribute, FAttributeStatImpact> AttributeStatImpact;

I wanted to use the TMap because of its functionality(unique keys) instead of TArray, even despite of the annoying problem when adding elements (cannot add a new element if there is an element with default key), but I guess that ship has sailed.

Version of the Unreal Engine: 4.17.2-3658906+++UE4+Release-4.17

Screenshot of the bug can be found below:

The bug can be reproduced simply by changing the keys of elements, but in case I am adding a [video][3] of the reproduction steps.

By restarting editor, the duplicated keys are removed, but can be added again and stay there until next editor restart.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks

Hello,
Thanks for the response, I will report the issue using the new submission form as soon as I can. Cheers.

The issue was reported and accepted, it can be found here UE-55886 if anyone wants to check the status in the future.