TMap::Contains() returns false for an existing key
Hello, I am using a
Please note that this only happens for a few combinations of values and data types. The hash values of the 4 keys are all different.
I am attaching the two files needed to reproduce: a unit test file and the Build.cs (needed since I'm using PhysX types directly). Testing should be straightforward:
I've been testing this in both "DebugGame Editor" and "Development Editor" configurations for the UE 4.12.5, launcher version. As a last note, slight changes to the code (including using FVector instead of PxVec3, or removing the void* from the struct) will change behavior, which is extremely puzzling to me.
Thank you for submitting a bug report with such detailed repro steps. I have reproduced this issue and logged a report for it here: https://issues.unrealengine.com/issue/UE-33818. You can track the report's status as the issue is reviewed by our development staff.
Follow this question
Once you sign in you will be able to subscribe for any updates here