Please do a phone test in Studio with this place file and click the jump button once:
Touchjump Frozen Repro.rbxl (53.9 KB)
→ This simulates a character despawn + load into a map.
Who is affected?
- Millions of mobile users may have encountered this issue. Some report it happening frequently in games like Rivals and Obbies that use certain teleport mechanics.
Backstory:
- This issue has occurred thousands of times in our game “Bake Da Baby.” I fixed it in January by forking the JumpButton module, as I cannot use the default Roblox modules to fix this.
- A similar issue with “TouchControlsEnabled” was resolved: link to resolved issue.
Expected behavior
I expect the jump button not to freeze. The issue is that TouchJump:EnableButton(enable) isn’t always responsible for making the JumpButton UI invisible.
Adding this line of code at line 221 of the “TouchJump” script should resolve the issue:
self.parentUIFrame.Parent:GetPropertyChangedSignal("Enabled"):Connect(function()
OnInputEnded()
end)
^^ This simple line of code has never failed in our game. I added an extra debug warning that would have appeared in the “Error Report” if it had.
Sidenote: My forked version also includes a function that triggers OnInputEnded() when the LocalPlayer has .CharacterAdded, but this will most likely be redundant.
A private message is associated with this bug report