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.
REGRESSION:
No.
public: UFUNCTION(BlueprintNativeEvent, BlueprintCallable) const float TestMethod() const;
const float IMyInterface::TestMethod_Implementation() const { const float TestVar = 42.f; return TestVar; }
RESULT:
The build will fail with the following error: error C2373: 'IMyInterface::TestMethod': redefinition; different type modifiers
EXPECTED:
The build completes successfully
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How can i modify the param name in EQS node
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
I can't open my map from the editor.
What method is used to fill polygonal regions when drawing spline mesh at run time?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62943 in the post.
2 |
Created | Aug 15, 2018 |
---|---|
Resolved | Nov 30, 2018 |
Updated | Feb 12, 2019 |
4995 - GlassBeaver |