Reproduction Steps
My Analytics is catching numerous “Invalid value for enum KeyCode” errors from players from scripts like these:
UserInputService.InputBegan:Connect(function(input, _)
local keyCode = input.KeyCode
end)
It has been reported before but like 5-6 years ago.
Expected Behavior
I expect all keycode values that can be inputted in platforms that support Roblox to be valid.
Actual Behavior
Some keycode errors. Not a critical bug but it does flood the analytics’ error logs.
Issue Area: Engine
Issue Type: Other
Impact: Low
Frequency: Often
Date First Experienced: 2020-03-01 00:03:00 (+01:00)