Holding the jump button on mobile when UserInputService.ModalEnabled is set to true causes player to jump continuously

On mobile devices only, holding the jump button at any point that UserInputService.ModalEnabled is set to true will cause the player to continue to jump automatically afterrwards (this can only be stopped by opening the “pause” menu). This can also occur when emulating a mobile device in Roblox Studio.
43425b1b499aef98d3a96e6f2ce5de754332f5c8

Reproduction Steps

  1. Play an experience (Studio or Roblox Player) which can set UserInputService.ModalEnabled to true, on any mobile device
  2. Hold down the jump button
  3. While the jump button is held down, perform the action causing UserInputService.ModalEnabled to be set to true
  4. Let go of the jump button
  5. Observe that your character will continue to jump, with no way to stop besides opening the “pause” menu

Note: Manually setting the humanoid’s state to another (such as Running or Ragdoll) following this has no effect, and it can be observed that the humanoid’s state immediately after changing the state, is always Freefalling (or occasionally Jumping).

6 Likes

Thanks for the report! I filed a ticket in our internal database and we’ll follow up when we have an update for you.