Input action only goes through sometimes

Hey there, i have a super simple setup that is acting very weird for some reason:


Whenever you click the controller finds the actor you’re clicking on and prints out it’s name. However, for some reason clicking doesn’t do anything most of the time but occasionally works as intended. I’m on 5.3.2 (still using the old input system because i like it more). I have a different input action set up that works every time but changing this input action or plugging a working one into the same node tree doesn’t seem to do anything.

  • how do you obtain Hit Data?
  • do you use use Left Mouse button for anything else?
  • Update cursor traces from the camera through the cursor and stores the hit to get what and where you’re hovering in 3D
  • Ctrl-F shows no other instances of the left mouse button event/the click action

What really fails here? The click itself or the trace? Add a regular, Hello print string after.

I have a different input action set up that works every time […] Ctrl-F shows no other instances of the left mouse button event/the click action

Not really what I meant, was merely wondering whether this could be an input consumption issue.

Already tried that, it’s the click. I said the ctrl-f thing to say i’m 100% sure there’s nothing else resolving the same input (i checked for any other actions as well)

Also, the trace is really simple and when it does get triggered it works so i don’t see how it could be the part that’s failing, it’s def something to do with the input

What are your expectations here then? We get no info apart from the isolated scenario that does not work, input that is not consumed (100%) and a line trace that is very reliable.

Perhaps it’s time to spill the beans about the rest of the setup. Run the widget reflector, see if widgets get in the way. Explain how input modes are handled.

What’s unorthodox about the project? Plugins?

1 Like

Checked everything you said, tried setting input mode to game and UI on begin play and it fixed it. I was under the assumption it’s the default and you didn’t have to do that since i hadn’t ever encountered this issue before.
Thanx for the help

1 Like