Unreal Engine 5.3 Input Binding Issue - Function Called Twice on Single Mouse

Hello everyone,

I’m experiencing a potential input binding issue with Unreal Engine 5.3 in my project. I’ve set up a simple Pawn class, overriding the mouse left click input in the SetupPlayerInputComponent method. The binding is supposed to call a specified function once on a mouse left click. However, the function is being called twice for each single click.
Here’s the snippet of code I’m using to bind the left mouse click:
void ABP_FirstPerson::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
PlayerInputComponent->BindAction(“LeftClick”, IE_Pressed, this, &ABP_FirstPerson::HandleLeftClick);
}
I have confirmed the following:

  • There are no other bindings in the project.
  • SetupPlayerInputComponent is called only once.
  • There are no duplicate bindings in the engine’s input settings.

I’ve tried restarting the editor and my computer, but the issue persists. Has anyone else encountered something similar, or does anyone have suggestions for further troubleshooting this issue?

Thank you in advance for your help!