Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

New Unity Install - Installed Input System plugin from Package Manager, now errors appear

Discussion in 'Input System' started by Boneless117, Sep 11, 2022.

  1. Boneless117

    Boneless117

    Joined:
    May 18, 2019
    Posts:
    2
    Hi All,

    As the title explains, I have a new unity install 2022.1.16f1. When I install Input System lots of errors appear in the console and I'm unable to proceed any further.

    See the image below.
    upload_2022-9-11_13-19-3.png

    Here are some of the example errors shown above:
    Library\PackageCache\com.unity.inputsystem@1.4.2\InputSystem\Plugins\XR\Devices\WindowsMR.cs(92,16): error CS0246: The type or namespace name 'QuaternionControl' could not be found (are you missing a using directive or an assembly reference?)

    Library\PackageCache\com.unity.inputsystem@1.4.2\InputSystem\Controls\InputControlPath.cs(534,43): error CS0246: The type or namespace name 'Substring' could not be found (are you missing a using directive or an assembly reference?)

    Library\PackageCache\com.unity.inputsystem@1.4.2\InputSystem\Controls\InputControlPath.cs(1154,22): error CS0246: The type or namespace name 'Substring' could not be found (are you missing a using directive or an assembly reference?)

    Library\PackageCache\com.unity.inputsystem@1.4.2\InputSystem\Controls\InputControlPath.cs(1155,35): error CS0246: The type or namespace name 'Substring' could not be found (are you missing a using directive or an assembly reference?)

    Library\PackageCache\com.unity.inputsystem@1.4.2\InputSystem\Devices\Joystick.cs(73,16): error CS0246: The type or namespace name 'StickControl' could not be found (are you missing a using directive or an assembly reference?)

    Library\PackageCache\com.unity.inputsystem@1.4.2\InputSystem\Devices\Sensor.cs(285,16): error CS0246: The type or namespace name 'QuaternionControl' could not be found (are you missing a using directive or an assembly reference?)

    etc...

    These errors are coming from Library\PackageCache\com.unity.inputsystem@1.4.2\InputSystem

    I have completed the following troubleshooting steps:

    - Tried a new project
    - Tried multiple versions of unity
    - Removed Unity + Unity Hub
    - Removed Unity and Unity files
    - Restarted PC
    - Installed the package from the GitHub repo

    Nothing seems to rid of these errors.
    I'm a little lost on how to proceed any further on this one and would love some assistance if possible.
     
  2. Boneless117

    Boneless117

    Joined:
    May 18, 2019
    Posts:
    2
    Okay, so I looked into the menus and found this:
    Help -> Reset Packages to defaults
    Doing this option has resolved this issue.

    Updating this if someone else runs into this issue.
     
    kojiMarunouchi likes this.