Search Issue Tracker
Fixed in 1.1.0-preview.4
Votes
3
Found in [Package]
1.0.0
Issue ID
1258003
Regression
No
HID exceptions are thrown when launching a project while analog keyboard is connected to the machine
Reproduction steps:
1. Open any Unity project with Input System package while an analog keyboard is connected to the machine
2. Inspect the console
Expected result: No errors are thrown
Actual result: "Could not create a device" HID exceptions are thrown
Reproduces on Wooting One Analog keyboard
Notes:
1. New Input System does not support keyboards over HID, and the keyboard support we have at this point is entirely 1/0.
2. The keyboard should work normally, but the HID for the keyboard will not be functional
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Lurpelo
Mar 28, 2021 11:20
This bug/error/whatever has evolved into Input System 1.0.2 in Unity 2021.1.01f.
Ain't that great.
Layout 'HID-BEEF-FEED' matches existing device '{"vendorId":48879. "productId":65261, "usa...(HID) but failed to instantiate: System Exception: State format 'SBIT' is not supported as floating-point format.
Input Debug logs succesfully values from Keyboard, Mouse and XInputControllerWindows (Xbox gamepad) and everything works and moves in gameplay, but the project stops at building the game due to this error.
12r45
Aug 24, 2020 06:46
heres the full call stack,
also this is with a Wooting WootingTwo keyboard
Could not create a device for 'Wooting WootingTwo (HID)' (exception: System.Exception: State format 'SBIT' is not supported as floating-point format
at UnityEngine.InputSystem.LowLevel.InputStateBlock.FloatToPrimitiveValue (System.Single value) [0x0026d] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\State\InputStateBlock.cs:569
at UnityEngine.InputSystem.Controls.AxisControl.FinishSetup () [0x00028] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\Controls\AxisControl.cs:219
at UnityEngine.InputSystem.InputControl.CallFinishSetupRecursive () [0x00026] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\Controls\InputControl.cs:881
at UnityEngine.InputSystem.InputControl.CallFinishSetupRecursive () [0x0000b] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\Controls\InputControl.cs:880
at UnityEngine.InputSystem.InputControl.CallFinishSetupRecursive () [0x0000b] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\Controls\InputControl.cs:880
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.Setup (UnityEngine.InputSystem.Utilities.InternedString layout, UnityEngine.InputSystem.Utilities.InternedString variants, UnityEngine.InputSystem.Layouts.InputDeviceDescription deviceDescription) [0x00030] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\Devices\InputDeviceBuilder.cs:55
at UnityEngine.InputSystem.InputDevice.Build[TDevice] (System.String layoutName, System.String layoutVariants, UnityEngine.InputSystem.Layouts.InputDeviceDescription deviceDescription) [0x00042] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\Devices\InputDevice.cs:678
at UnityEngine.InputSystem.InputManager.AddDevice (UnityEngine.InputSystem.Utilities.InternedString layout, System.Int32 deviceId, System.String deviceName, UnityEngine.InputSystem.Layouts.InputDeviceDescription deviceDescription, UnityEngine.InputSystem.InputDevice+DeviceFlags deviceFlags, UnityEngine.InputSystem.Utilities.InternedString variants) [0x00000] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\InputManager.cs:1033
at UnityEngine.InputSystem.InputManager.AddDevice (UnityEngine.InputSystem.Layouts.InputDeviceDescription description, System.Boolean throwIfNoLayoutFound, System.String deviceName, System.Int32 deviceId, UnityEngine.InputSystem.InputDevice+DeviceFlags deviceFlags) [0x0005d] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\InputManager.cs:1164
at UnityEngine.InputSystem.InputManager.OnNativeDeviceDiscovered (System.Int32 deviceId, System.String deviceDescriptor) [0x000a0] in C:\Users\12r45\Documents\GitHub\bullethell\bullethell\Library\PackageCache\com.unity.inputsystem@1.0.0\InputSystem\InputManager.cs:2069 )
UnityEngine.InputSystem.InputManager:OnNativeDeviceDiscovered(Int32, String)
UnityEngineInternal.Input.NativeInputSystem:NotifyDeviceDiscovered(Int32, String)