Mouse input not working but only when playing as client (Keyboard input is fine however)


I have a relatively basic setup to run a function, that supposed to fire with the right mouse button, but it wasn’t working. At first I thought there was something wrong with my function or events because it wasn’t running in client mode. Only listen server and standalone player were able to execute the function.

However, upon further testing, I bound the key “R” and it worked perfectly fine as seen here:

It’s so bizarre, I have no idea how to fix something like this, and Id rather I allow people playing as a client use their mouse buttons as intended. It’s even stranger that hosts are unaffected. The issue disables both left and right mouse inputs, but not the mouse axis input at all, so clients can still look around with their camera.

It also happens when the game is compiled in the exact same manner.

here is my input initialization if that’s helpful as well.

If anyone has any solutions I would love to try something to fix this. Thanks!

How you running to test? PIE doesn’t always work correctly when it comes to multiplayer. Try this:

I’m afraid that’s not the issue, as I have tested it as a fully compiled game across two PC’s playing on the same network (mouse click inputs still did not work for clients). Another thing to note is that it’s the mouse inputs from the enhanced input system that have this issue. If I use a raw mouse input instead it works fine, but I’d prefer to keep these as input actions for future configuration.


I could just use this node for now to handle the input but in the future it would be difficult for users to rebind their controls in this way.