GetGamepadConnected Returns False For Plugged In Controllers

(As the sub category states, this is only a bug in studio)
The bug is that UserInputService:GetGamepadConnected() will return false if you have a controller already plugged in. It will return true if it was plugged in after using PlaySolo.

Repro steps:

  1. Have a controller plugged in before running studio
  2. Use PlaySolo
  3. Output will print false
  4. Unplug and replug
  5. Output will print true

Repro code (local script):

[code]
local UserInputService = game:GetService(“UserInputService”)

while true do
print(tostring(UserInputService:GetGamepadConnected(Enum.UserInputType.Gamepad1)))
wait()
end[/code]

This has been fixed, will be shipped with new studio in about a week.

2 Likes