Bug Description: I don’t know when this happened, but I only found out recently, when using the User Input Service to detect button presses, to avoid tying a message in chat from firing the button, I used the roblox recommended (example):
UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
if not gameProcessedEvent then
-- Put your button detection stuff here
if input.KeyCode == Enum.KeyCode.ButtonR3 then
print("Button R3 Pressed On Controller")
end
if input.KeyCode == Enum.KeyCode.ButtonL3 then
print("Button L3 Pressed On Controller")
end
end
end)
That has worked for a long time, but just recently it broke. It can no longer detect when ButtonR3 is pressed, but detecting ButtonL3 still works fine. I have an Xbox controller I use to test with and can confirm that R3 is being ignored for some reason. I don’t know when it happened. As luck would have it, if you move that R3 button detection outside of the Game Processed Event, then it works again at least, thought during a chat window, etc.
When: Not sure when this changed, was only brought to my attention this week.
Reproduce: Always, in the code at least with an Xbox controller or a real Xbox if you have one handy and the latest version of the Roblox game engine.
Video or Images?: Ok, it is recommended to create a game file for this, so let me attach one real quick.
bug world demo.rbxl (34.6 KB)