Search Issue Tracker

Fixed in 1.1.0-preview.4

Votes

8

Found in [Package]

1.0.0-preview.1

Issue ID

1191857

Regression

No

[InputSystem][Windows] Thrustmaster USB Joystick leads to exceptions

Package: Input System

-

1. With Windows editor open, plug in Thrustmaster USB Joystick.k
2. Observer "Could not create device" error in the console.

NotImplementedException is thrown saying "State format 'SBIT' is not supported as a floating-point format"

Comments (3)

  1. oleg_v

    May 29, 2021 20:52

    Same for SpeedLink steering wheel, Windows 10 is fine with it, all axis visible, but not Unity. Neither old nor new input system. IS version 1.0.2

  2. valdeezzee

    May 12, 2020 12:50

    I am having the same issue with the controller I am using. It must be that something was removed in this version of the input system. I have tried out an older version of the input system, 0.2.1-preview, and my controller is recognized.

    I have just tested out other versions of the input system. All 1.0.0 versions give me the same error:

    Could not create a device for 'Universal Human Interface Device UHID Gamepad Device #1 (HID)' (exception: System.Exception: State format 'SBIT' is not supported as floating-point format.

  3. kostas-vs

    Mar 12, 2020 20:13

    The full log in my case is:
    Could not create a device for 'THRUSTMASTER Top Gun Afterburner (HID)' (exception: System.Exception: State format 'SBIT' is not supported as floating-point format
    at UnityEngine.InputSystem.LowLevel.InputStateBlock.FloatToPrimitiveValue (System.Single value) [0x002dc] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\InputSystem\State\InputStateBlock.cs:569
    at UnityEngine.InputSystem.Controls.AxisControl.FinishSetup () [0x00031] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\InputSystem\Controls\AxisControl.cs:219
    at UnityEngine.InputSystem.InputControl.CallFinishSetupRecursive () [0x0002c] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\InputSystem\Controls\InputControl.cs:881
    at UnityEngine.InputSystem.InputControl.CallFinishSetupRecursive () [0x0000c] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\InputSystem\Controls\InputControl.cs:880
    at UnityEngine.InputSystem.InputControl.CallFinishSetupRecursive () [0x0000c] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\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) [0x00032] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\InputSystem\Devices\InputDeviceBuilder.cs:57
    at UnityEngine.InputSystem.InputDevice.Build[TDevice] (System.String layoutName, System.String layoutVariants, UnityEngine.InputSystem.Layouts.InputDeviceDescription deviceDescription) [0x0004a] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\InputSystem\Devices\InputDevice.cs:681
    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) [0x00001] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\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) [0x00072] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\InputSystem\InputManager.cs:1163
    at UnityEngine.InputSystem.InputManager.OnNativeDeviceDiscovered (System.Int32 deviceId, System.String deviceDescriptor) [0x000c4] in C:\Users\Kostas\MEGA\UNITY\Alkis\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.5\InputSystem\InputManager.cs:2068 )
    UnityEngine.InputSystem.InputManager:OnNativeDeviceDiscovered(Int32, String)
    UnityEngineInternal.Input.NativeInputSystem:NotifyDeviceDiscovered(Int32, String) (at C:/buildslave/unity/build/Modules/Input/Private/Input.cs:129)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.