Hey there,
I found this post while I was facing the same issue. Unfortunately using CommonUI in C++ is a pretty bad experience, I hope they’ll improve it.
It seems UCommonButtonBase::FCommonButtonEvent is a native multicast delegate. Which doesn’t support dynamic binding using AddDynamic
.
My solution was binding the event using AddUObject
.
Here is my code:
void UMMS_MainMenuButtons::NativePreConstruct()
{
PlayButton->OnClicked().AddUObject(this, &UMMS_MainMenuButtons::OnPlayButtonClicked);
}