Input Action Service not detecting mouse inputs in live game

Input Action Service isn’t detecting any mouse inputs at all on both the left and the right click in live game. It only works in studio test play. I have tried printing on input and nothing happens, I even went into any empty baseplate to make sure it was not my game and it still did not work in live game only in Studio test play.


image

This is how my input is setup.

so oddly enough my keycode was for some reason getting changed to unknown without me touching it. Now it works again

Roblox changed the Enum.Keycode numeric value for 1018-1024 to 1026-1032. Which are all the mouse button mappings.

1 Like

This is probably caused by the enum values having been changed seemingly which has broken all previous projects and rbxm(x) files.

Very not cool guys!

I would appreciate a revert because this has broken all external tooling that uses the new IAS, such as using rojo to build from files on disk.

If you’re just working in studio this should be a one-time fix if you just go update the KeyCode properties from Unknown back to the correct one.

Hi all,

Thank you for the reports. We’re aware of this issue where the MouseLeftButton, MouseMiddleButton, MouseRightButton, and MousePosition keycodes for InputBindings are being set to Unknown. If you currently use these KeyCodes in your experience (by setting the property in the Studio UI, setting KeyCodes in scripts is unaffected), you will need to re-set the KeyCode properties and publish in order for the changes to take effect. We apologize for the inconvenience this has caused.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.