TMap duplicated keys
Hello, I think I have found bug concerning TMap and DataTable. According to TMap documentation, 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:
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 of the reproduction steps.
Follow this question
Once you sign in you will be able to subscribe for any updates here