• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by bobbmeister · Apr 21, 2020 at 08:35 AM · input manager

game pad won't connect

To Whom it may concern:

My company manufactures and designed a patented ruggedzied USB game style controller for various industrial, military and aerospace purposes. This is a product that has been in production for ten years and has a glorious track record with thousands of units built and sold worldwide. It supports all versions of windows, and also linux, RHEL, Android and etc. without issue.

One of our customers is trying to integrate it into your unity platform but with difficulty. Below, I've provided the crash report which was forwarded to me

"This is the HID descriptor as reported by Unity for the Ultra Controller" { "interface": "HID", "type": "", "product": "xxxxxxxxx", // redacted "serial": "", "version": "1", "manufacturer": "Ultra-MSI Electronics Inc.", "capabilities": "{\"vendorId\":27908,\"productId\":26728,\"usage\":4,\"usagePage\":1,\"inputReportSize\":7,\"outputReportSize\":0,\"featureReportSize\":0}" }

"This is the error that is reported when Unity tries to use the Ultra Controller"

Could not create a device for 'Ultra-MSI Electronics Inc. 1505-G6887 (HID)' (exception: System.Exception: State format 'SBIT' is not supported as floating-point format at UnityEngine.InputSystem.LowLevel.InputStateBlock.FloatToPrimitiveValue (System.Single value) [0x002dc] inC:\Users\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\InputSystem\State\InputStateBlock.cs:569 at UnityEngine.InputSystem.Controls.AxisControl.FinishSetup () [0x00031] in C:\Users\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\InputSystem\Controls\AxisControl.cs:219 at UnityEngine.InputSystem.InputControl.CallFinishSetupRecursive () [0x0002c] in C:\Users\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\InputSystem\Controls\InputControl.cs:881 at UnityEngine.InputSystem.InputControl.CallFinishSetupRecursive () [0x0000c] in C:\Users\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\InputSystem\Controls\InputControl.cs:880 at UnityEngine.InputSystem.InputControl.CallFinishSetupRecursive () [0x0000c] in C:\Users\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\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\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\InputSystem\Devices\InputDeviceBuilder.cs:55 at UnityEngine.InputSystem.InputDevice.Build[TDevice] (System.String layoutName, System.String layoutVariants, UnityEngine.InputSystem.Layouts.InputDeviceDescription deviceDescription) [0x0004a] in C:\Users\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\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) [0x00001] in C:\Users\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\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\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\InputSystem\InputManager.cs:1164 at UnityEngine.InputSystem.InputManager.OnNativeDeviceDiscovered (System.Int32 deviceId, System.String deviceDescriptor) [0x000c4] in C:\Users\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\InputSystem\InputManager.cs:2069 )

PLEASE NOTE: The above software version is Unity 2019.3.0f6.

If you have any suggestion to offer it would be most honestly appreciated.

Thanks, to the team, in advance,

Regards,

Robert Blain Chief Engineer MSI/DNE Products, EMS

Ultra Maritime 50 Barnes Park North, Suite 101 Wallingford, CT 06492, USA T: +1 (203) 949 - 3500 Ext. 3532 F: +1 (203) 949 - 3598 ultra-ems.com ultra.group

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by bobbmeister · Apr 24, 2020 at 12:11 PM

I think this is the essence of the issue here. A developer familiar with this code might be able to shed some light on reason for the error. I've posted this as of more than two days ago to no avail. I believe it's an issue with the HID report, something that is unfamiliar or not supported.

It might be worth mentioning that this control stick outputs deflection travel as signed char which is 8 bit 2's compliment data. Most controllers output this as signed short in a.k.a 16 bits wide. Could this be an issue?

Could not create a device for 'Ultra-MSI Electronics Inc. 1505-G6887 (HID)' (exception: System.Exception: State format 'SBIT' is not supported as floating-point format at UnityEngine.InputSystem.LowLevel.InputStateBlock.FloatToPrimitiveValue (System.Single value) [0x002dc] inC:\Users\User\Documents\ASPIS-Controller-GUI-mockup\GUIMockUp\Library\PackageCache\com.unity.inputsystem@1.0.0-preview.7\InputSystem\State\InputStateBlock.cs:569 at UnityEngine.InputSystem.Controls.AxisControl.FinishSetup () [0x00031]

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

125 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Rearranging input order in Input Manager 2 Answers

Input Manager Joystick Z, R ,U, and V Values 0 Answers

New Input System: Can't set binding path anymore 1 Answer

what are the single joystick prefab's inputs for the input manager 1 Answer

Xbox Controller RT Button does not revert to 0 until other input is applied (some times) 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges