Search Issue Tracker

Fixed in 1.1.0-preview.4

Votes

20

Found in [Package]

1.0-preview

Issue ID

1189859

Regression

No

[InputSystem] Error when vJoy is installed

Package: Input System

-

Platform: Windows

Repro:

1. Install vJoy (http://vjoystick.sourceforge.net/site/)
2. Launch Unity
3. Observe error in console.

```
Could not create a device for 'Shaul Eizikovich vJoy - Virtual Joystick (HID)' (exception: System.NotImplementedException: The method or operation is not implemented.
at UnityEngine.InputSystem.Utilities.PrimitiveValue.FromString (System.String value) [0x0013a] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Utilities\PrimitiveValue.cs:407
at UnityEngine.InputSystem.Utilities.NamedValue.ParseParameter (System.String parameterString, System.Int32& index) [0x0015d] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Utilities\NamedValue.cs:157
at UnityEngine.InputSystem.Utilities.NamedValue.ParseMultiple (System.String parameterString) [0x00050] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Utilities\NamedValue.cs:98
at UnityEngine.InputSystem.Layouts.InputControlLayout+Builder+ControlBuilder.WithParameters (System.String parameters) [0x00014] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Controls\InputControlLayout.cs:666
at UnityEngine.InputSystem.HID.HID+HIDLayoutBuilder.Build () [0x001ac] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Plugins\HID\HID.cs:375
at UnityEngine.InputSystem.HID.HID+<>c__DisplayClass12_0.<OnFindLayoutForDevice>b__0 () [0x00000] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Plugins\HID\HID.cs:185
at UnityEngine.InputSystem.Layouts.InputControlLayout+Collection.TryLoadLayoutInternal (UnityEngine.InputSystem.Utilities.InternedString name) [0x00056] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Controls\InputControlLayout.cs:1811
at UnityEngine.InputSystem.Layouts.InputControlLayout+Collection.TryLoadLayout (UnityEngine.InputSystem.Utilities.InternedString name, System.Collections.Generic.Dictionary`2[TKey,TValue] table) [0x00001] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Controls\InputControlLayout.cs:1822
at UnityEngine.InputSystem.Layouts.InputControlLayout+Cache.FindOrLoadLayout (System.String name) [0x00044] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Controls\InputControlLayout.cs:2023
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.FindOrLoadLayout (System.String name) [0x00014] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Devices\InputDeviceBuilder.cs:682
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InstantiateLayout (UnityEngine.InputSystem.Utilities.InternedString layout, UnityEngine.InputSystem.Utilities.InternedString variants, UnityEngine.InputSystem.Utilities.InternedString name, UnityEngine.InputSystem.InputControl parent) [0x00001] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Devices\InputDeviceBuilder.cs:101
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.Setup (UnityEngine.InputSystem.Utilities.InternedString layout, UnityEngine.InputSystem.Utilities.InternedString variants, UnityEngine.InputSystem.Layouts.InputDeviceDescription deviceDescription) [0x0000c] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Devices\InputDeviceBuilder.cs:53
at UnityEngine.InputSystem.InputDevice.Build[TDevice] (System.String layoutName, System.String layoutVariants, UnityEngine.InputSystem.Layouts.InputDeviceDescription deviceDescription) [0x0004a] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\Devices\InputDevice.cs:653
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 F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\InputManager.cs:971
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 F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\InputManager.cs:1100
at UnityEngine.InputSystem.InputManager.OnNativeDeviceDiscovered (System.Int32 deviceId, System.String deviceDescriptor) [0x000c4] in F:\Unity\Pyromance\Library\PackageCache\com.unity.inputsystem@1.0.0-preview\InputSystem\InputManager.cs:1991 )
UnityEngine.InputSystem.InputManager:OnNativeDeviceDiscovered(Int32, String)
UnityEngineInternal.Input.NativeInputSystem:NotifyDeviceDiscovered(Int32, String)
```

Comments (14)

  1. al-kauther

    Jan 08, 2023 02:37

    al-kauther.com

    al-kauther.com شركة الكوثر

    al-kauther.com/تنظيف-وغسيل-خزانات-التانكي-بالكويت/

    al-kauther.com/صيانة-الخزانات-بالكويت/

    al-kauther.com/شركة-نقل-عفش-بنجران/

    al-kauther.com/شركة-نقل-عفش-بجازان/

    al-kauther.com/شركة-نقل-عفش-بجدة/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الى-الرياض/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-خميس-مشيط/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الى-الدمام/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-المدينة/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-مكة/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-جازان/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-الاحساء/

    al-kauther.com/شركة-نقل-عفش-من-جدة-إلي-الخبر/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-تبوك/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-الباحة/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-نجران/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-الخرج/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-الطائف/

    al-kauther.com/شركة-نقل-عفش-من-جدة-الي-حفر-الباطن/

    al-kauther.com/شركة-نقل-عفش-من-جده-الي-القصيم/

    al-kauther.com/transfer-furniture-in-jeddah/

    alrahwan.com/تخريم-تكسير-قص-الخرسانة-بالرياض-فتحات/

    al-kauther.com/transfer-furniture-in-jeddah/

    al-kauther.com/ksa-moving-furniture-al-riyadh/

    al-kauther.com/in-kedmetk/

    al-kauther.com/moving-shipping/

    al-kauther.com/isolation-tank-jeddah/

    al-kauther.com/pest-control-spraying-insecticide-jeddah/

    al-kauther.com/cleaning-houses-jeddah/

    al-kauther.com/ksa-moving-furniture-al-riyadh/

    al-kauther.com/air-condition-cleaning-in-jeddah/

    al-kauther.com/plumber-in-jeddah/

    al-kauther.com/electrician-in-jeddah/

    al-kauther.com/electrician-in-khamis-mushait/

    al-kauther.com/transfer-furniture-in-almadina-almonawara/

    al-kauther.com/ksa-moving-furniture-al-dammam/

    al-kauther.com/ksa-moving-furniture-in-jazan/

    al-kauther.com/ksa-moving-furniture-in-najran/

    al-kauther.com/شركة-تنظيف-بالبخار-بالباحة/

    al-kauther.com/شركة-تنظيف-بالباحة/

    al-kauther.com/شركة-تنظيف-خزانات-بالباحة/

    al-kauther.com/شركة-كشف-تسربات-المياه-بالباحة/

    al-kauther.com/شركة-نقل-عفش-بالباحة/

    al-kauther.com/شركة-مكافحة-حشرات-و-رش-مبيدات-بالباحة/

    al-kauther.com/شركة-شغالات-بالساعة-بالباحة/

    al-kauther.com/شركة-شغالات-بالساعة-بالطائف/

    al-kauther.com/شركة-تنظيف-خزانات-بالطائف/

    al-kauther.com/شركة-مكافحة-حشرات-و-رش-مبيدات-بالطائف/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بالطائف/

    al-kauther.com/شركة-تنظيف-بالطائف/

    al-kauther.com/شركة-كشف-تسربات-المياه-بالطائف/

    al-kauther.com/شركة-نقل-عفش-بالطائف/

    al-kauther.com/شركة-نقل-عفش-بأبها/

    al-kauther.com/شركة-نقل-عفش-بخميس-مشيط/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بخميس-مشيط/

    al-kauther.com/مكافحة-حشرات-و-رش-مبيدات-بخميس-مشيط/

    al-kauther.com/شركة-تنظيف-خزانات-بخميس-مشيط/

    al-kauther.com/شركة-تنظيف-بخميس-مشيط/

    al-kauther.com/شركة-كشف-تسربات-المياه-بخميس-مشيط/

    al-kauther.com/شركة-شغالات-بالساعة-بخميس-مشيط/

    al-kauther.com/شركة-تنظيف-بالرياض/

    al-kauther.com/شركة-تنظيف-خزانات-بالرياض/

    al-kauther.com/شركة-كشف-تسربات-المياه-بالرياض/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بالرياض/

    al-kauther.com/شركة-مكافحة-حشرات-و-رش-مبيدات-بالرياض/

    al-kauther.com/شركة-شغالات-بالساعة-بالرياض/

    al-kauther.com/شركة-نقل-عفش-بالرياض/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-جدة/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-إلى-الدمام/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-القصيم/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-الاحساء/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-نجران/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-جازان/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-الخبر/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-الخرج/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-الباحة/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الى-مكة/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-تبوك/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-الطائف/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-المدينة/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-حفر-الباطن/

    al-kauther.com/شركة-نقل-عفش-من-الرياض-الي-خميس-مشيط/

    al-kauther.com/شركة-تنظيف-خزانات-بجدة/

    al-kauther.com/شركة-مكافحة-حشرات-و-رش-مبيدات-بجدة/

    al-kauther.com/شركة-تنظيف-بجدة/

    al-kauther.com/شركة-كشف-تسربات-المياه-بجدة/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بجدة/

    al-kauther.com/شركة-شغالات-بالساعة-بجدة/

    al-kauther.com/in-kedmetk/

    al-kauther.com/شركة-تنظيف-خزانات-بمكة/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بمكة/

    al-kauther.com/شركة-تنظيف-بمكة/

    al-kauther.com/شركة-نقل-عفش-بمكة-المكرمة/

    al-kauther.com/شركة-مكافحة-حشرات-و-رش-مبيدات-بمكة/

    al-kauther.com/شركة-كشف-تسربات-المياه-بمكة/

    al-kauther.com/شركة-شغالات-بالساعة-بمكة/

    al-kauther.com/شركة-نقل-عفش-بتبوك/

    al-kauther.com/شركة-مكافحة-حشرات-ورش-مبيدات-بتبوك/

    al-kauther.com/شركة-تنظيف-بتبوك/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بتبوك/

    al-kauther.com/شركة-تنظيف-خزانات-بتبوك/

    al-kauther.com/شركة-كشف-تسربات-المياه-بتبوك/

    al-kauther.com/شركة-شغالات-بالساعة-بتبوك/

    al-kauther.com/شركة-نقل-عفش-بحفر-الباطن/

    al-kauther.com/مكافحة-حشرات-ورش-مبيدات-بحفر-الباطن/

    al-kauther.com/شركة-تنظيف-بحفر-الباطن/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بحفر-الباطن/

    al-kauther.com/شركة-تنظيف-خزانات-بحفر-الباطن/

    al-kauther.com/شركة-شغالات-بالساعة-بحفر-الباطن/

    al-kauther.com/شركة-كشف-تسربات-المياه-بحفر-الباطن/

    al-kauther.com/شركة-نقل-عفش-بالاحساء/

    al-kauther.com/شركة-نقل-عفش-بالهفوف/

    al-kauther.com/شركة-مكافحة-حشرات-و-رش-مبيدات-بالاحساء/

    al-kauther.com/شركة-تنظيف-بالاحساء/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بالاحساء/

    al-kauther.com/شركة-تنظيف-خزانات-بالاحساء/

    al-kauther.com/شركة-كشف-تسربات-المياه-بالاحساء/

    al-kauther.com/شركة-شغالات-بالساعة-بالاحساء/

    al-kauther.com/شركة-نقل-عفش-بالقصيم/

    al-kauther.com/شركة-نقل-عفش-في-بريدة/

    al-kauther.com/شركة-تنظيف-خزانات-بالقصيم/

    al-kauther.com/شركة-تنظيف-بالقصيم/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بالقصيم/

    al-kauther.com/شركة-كشف-تسربات-المياه-بالقصيم/

    al-kauther.com/شركة-شغالات-بالساعة-بالقصيم/

    al-kauther.com/شركة-مكافحة-حشرات-ورش-مبيدات-بالقصيم/

    al-kauther.com/شركة-نقل-عفش-بالخرج/

    al-kauther.com/شركة-نقل-عفش-بالقنفذة/

    al-kauther.com/شركة-نقل-عفش-بالخبر/

    al-kauther.com/شركة-شغالات-بالساعة-بالمدينة/

    al-kauther.com/شركة-تنظيف-خزانات-بالمدينة/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بالمدينة/

    al-kauther.com/شركة-تنظيف-بالمدينة/

    al-kauther.com/شركة-مكافحة-حشرات-و-رش-مبيدات-بالمدينة/

    al-kauther.com/شركة-كشف-تسربات-المياه-بالمدينة/

    al-kauther.com/شركة-نقل-عفش-بالمدينة-المنورة/

    al-kauther.com/تركيب-صيانة-تنظيف-مكيفات-بالدمام/

    al-kauther.com/شركة-مكافحة-حشرات-و-رش-مبيدات-بالدمام/

    al-kauther.com/شركة-تنظيف-خزانات-بالدمام/

    al-kauther.com/شركة-كشف-تسربات-المياه-بالدمام/

    al-kauther.com/شركة-شغالات-بالساعة-بالدمام/

    al-kauther.com/شركة-نقل-عفش-بالدمام/

    al-kauther.com/شركة-تنظيف-بالدمام/

    al-kauther.com/شركة-شحن-من-السعودية-الي-الاردن/

    al-kauther.com/شركة-شحن-من-السعودية-الي-الامارات/

    alrahwan.com/شغالات-بالساعة-بجدة-عاملات-بالساعة/

    alrahwan.com/أفضل-نجار-بمكة-المكرمة/

    alsaad-mover.com/2022/10/نجار-موبيليا-بجدة-فك-وتركيب-غرف-نوم.html

    alssareh.com/أفضل-نجار-بجدة-فك-تركيب-غرف-نوم-ايكيا/

    al-kauther.com/أفضل-نجار-بجدة-فك-وتركيب-غرف-نوم/

    hs.futuredar.company/2021/07/Hourly-Housemaids-in-Jeddah.html

    gulfalarab.com

    bareeq-clean.com

    alsaad-mover.com

    alsaif-ksa.com

    corner-ksa.com

    shipping-sa.com

    alfaris.company

    alssareh.com

    alrahwan.com

    alshimaa.com

    al-kauther.com

    natiga-thanwya.com

    el-zahrani.blogspot.com

    number1-ksa.blogspot.com

    natigaa-thanwya.blogspot.com

    24alan.blogspot.com

    engineering-ac.com

  2. BarShiftGames

    Feb 03, 2022 20:40

    This issue is NOT fixed, I'm using 2019.4.31f1. BUT for anyone who needs an absolute workaround (and this is a hack) essentially go into PrimitiveValue.cs and change the first line of FromString (a function located around line# 370) and change the line ```if (string.IsNullOrEmpty(value)``` to ```if (string.IsNullOrEmpty(value) || value.Contains("NaN"))```. This will at least allow you to edit inputs for the time being, it'll still throw errors and I have no idea if it actually fixes anything, but this at least allows me to SEE and EDIT the input actions.

    The problem is that this'll reset EVERY time you reopen unity, so be prepared to do this many times over the course of development.

  3. evilseed

    Jan 17, 2022 19:04

    Issue persists in 2021.2.8f1

  4. oscarpa9188

    Nov 16, 2021 19:40

    I am still having this issue. If anyone has come across a solution can you please help me and direct a struggling developer. I have not been able to find a solution and don know why this is considered resolved if there are others still having this issue in 2021

  5. ShazamPowers

    Oct 03, 2021 01:58

    Still having this issue on 2021.1.23f1, not sure why it is marked as resolved

  6. MagyarPeter

    Mar 19, 2021 13:12

    [SOLVED] uninstall vjoy(do not just delete the files, uninstall properly), and restart the computer.

  7. MagyarPeter

    Mar 19, 2021 12:57

    Same, I can't even edit my input actions now.

  8. zoomj

    Dec 22, 2020 10:50

    This problem is caused by the vjoy...virtual joystick installed on the computer. Uninstalling vjoy will no longer report an error. Why has this problem persisted for so long and has not been fixed yet?

  9. Aaron112

    Sep 17, 2020 12:04

    Still having this issue.

  10. MellowArpeggiation

    May 29, 2020 07:34

    Mugik you aren't the only one to make a fix, I made a PR back in November 2019 (https://github.com/Unity-Technologies/InputSystem/pull/949) and it still hasn't been included! It'd be nice to know what is happening here. I understand that Github isn't being used anymore but there are a lot of fixes waiting to be included from there.

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.