When UCLASS declared with "Const" cant declare BlueprintImplementableEvent. [Bug?]

YanDaik
Tue, 06 Sep 2022 14:41:48 +0000
C++

When UCLASS declared with “Const” cant declare BlueprintImplementableEvent. Because const added to function.

When you try, you get error.

Error C2511 : ‘void UClassX::FunctionY(void) const’: overloaded member function not found in ‘FunctionY’
Error C2671 : ‘UClassX::FunctionY’: static member functions do not have ‘this’ pointers
Error C2352 : ‘UObject::FindFunctionChecked’: illegal call of non-static member function

6 posts - 2 participants