Enum not working randomly within PostEditChangeChainProperty

Hey,

Going crazy here with a particular TMap and Enum, for some reason when calling TMap::Contains on a Map that contains my enum value as a key it returns false. The strangest part is it seems to occur only in particular places in code, namely, PostEditChange…

I try to reproduce this in another project to no avail. So I might doing something wrong in my particular project…

I’m adding some screenshots, of some parts of code I think show the problem.

Does anyone have any idea what could be causing this?

Regarding the first image:
The element seems to be found… Normally after that the code only checks for a valid ID, which it should be because it’s not -1… very confused at what is happening.

I wrote a test, in the same .cpp file, the code that runs there has no problem with TMap::Contains.