Hi there, this is driving me crazy , I am binding my inputs in a class other than PlayerController (this class is just an abstraction of concept of gameplay) like this:
void SetUpGamePlayInputComponent(UInputComponent* InputComponent)
{
NextOptionBinding=InputComponent>BindAction("NextOptionInput",EInputEvent::IE_Pressed,this,&UInteractiveGamePlay::OnNextOptionInput);
}
and I toggle input consummation like this:
NextOptionBinding.bConsumeInput = true; // or false
problem is, the binding stops working after a while, I logged it and I’m sure it stops calling bound function after a while (maybe 1 minute). To make sure the problem isn’t about bConsumeInput’s value, I commented it but it didn’t work. I have no idea what is going wrong, any idea?