UHT does not correctly create generated code for BlueprintNativeEvent UFUNCTIONs in an interface that return const values. In the corresponding .gen.cpp file, the generated code does not include the const keyword for the return type, resulting in a build failure due to different type modifiers on the function.
The build will fail with the following error: error C2373: 'IMyInterface::TestMethod': redefinition; different type modifiers
The build completes successfully
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62943 in the post.