Jump button not working on touchscreen enabled devices (phones/tables)

hi,

we’ve received a lot of reports from players of Emergency Hamburg that jump button stopped working or getting frozen on touch enabled devices, mainly phones.
this affects both jumping and exiting vehicles.

this started happening without any change from us (see update date).

players are able to use the jump button about every ~20 button presses, however that as well is pretty random


(video from one of our players)

thanks

3 Likes

Hi there, we’ve recently made changes to the PlayerScripts touch jump scripts necessary to fix some bugs with the touch jump. We’ve reverted the change, but we’d like to turn it on again soon. Can you please check to see if you have any scripts directly accessing members or methods in the PlayerModule? Or would you be able to provide a repro file?

1 Like

This had caused an issue in Realistic Street Soccer as well before the change was reverted. Our mobile buttons are sized according to the JumpButton’s size.

I don’t exactly know what changes were made to the JumpButton as I was just made aware of this situation.

2 Likes

hi,

no we don’t access PlayerModule at all in the entire project, we avoid interacting with core scripts at all. i’ve also checked dependecies we use, and even those don’t access PlayerModule

1 Like

Would you be able to provide a repro file or allow us to check your game files to debug the issue?

feel free to check the game’s source code, you’ve got the permission from us

1 Like

I’ve joined your group. Could you grant me permissions or send me the file in a dm?

contacted the group owner, Felix, just be warned, we use TypeScript thru Roblox-TS, so you’ll be looking at the compiled code

I granted the permissions to you. Thanks for taking a look!

1 Like

Thanks! I’ve figured out the issue and my changes shouldn’t affect your game any more. It was an issue with Humanoid:SetStateEnabled firing even without any state changes. I’ve filed that as a separate bug we’ll also take a look at. This change should be ready to go in a couple more weeks. Thanks for helping debug!

2 Likes

Hi, I also took a look at your game and coincidentally it was unrelated to this change. I’m not sure what caused the small controls, but I tested your game with the change on and off, old and new and was not able to reproduce the small controls. There shouldn’t be any more issues with this fix.

1 Like

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