(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:
- Have a controller plugged in before running studio
- Use PlaySolo
- Output will print false
- Unplug and replug
- 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]