TUnion "warning: not all control paths return a value"

Branch: 4.10

Build Version: Version: 4.10.4-2872498+++depot+UE4-Releases+4.10

I get this error when using any TUnion as a key in a TMap. I resolved the error by editing the ‘operator overload==’ in Union.h. A simple ‘return false’ statement after the if/else conditional did the trick.

Hi,

I’ve fixed this in our code - thanks for reporting it!

Steve