Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Official Input System 1.6.1 released

Discussion in 'Input System' started by jfreire-unity, Jun 1, 2023.

  1. jfreire-unity

    jfreire-unity

    Unity Technologies

    Joined:
    Jan 31, 2023
    Posts:
    1
    Hello Input System users!

    The Input Team would like to announce that Input System 1.6.1 has been released !

    We would like to highlight the improvements in this version:
    - The `InputSystem.customBindingPathValidators` interface was added to allow showing warnings in the `InputAsset` Editor for specific InputBindings and drawing custom UI in the properties panel.
    - A `displayIndex` field was added to the Touch struct to expose the index of the display that was touched.
    This version also includes the addition of an internal subsystem for routing input to the UI interface, predominantly for the UI Toolkit.

    More details about all the improvements and fixes are in the package changelog.

    Input system 1.6.1 is available starting from:
    • 2021.3.27f1
    • 2022.3.1f1
    • 2023.1.0b20
    Or alternatively, you can manually specify "1.6.1" in your manifest.json.

    And if it's your first time hearing about the Input System you can find an introduction in the manual.
     
  2. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,321
    Nice, can you talk more about the InputForUI module for UIToolkit? Is this a system to move away from the EventSystem component?
     
  3. JesOb

    JesOb

    Joined:
    Sep 3, 2012
    Posts:
    1,110
  4. CameronLewis

    CameronLewis

    Joined:
    Apr 17, 2016
    Posts:
    16
  5. Jamie_Merge

    Jamie_Merge

    Joined:
    Aug 21, 2020
    Posts:
    12
    Hello @jfreire-unity ,

    I'm hitting an issue while installing the package on a project using 2021.3.27f1

    The error is in the package, class InputSystemUIInputModule.cs

    Line 2172:

    public override int ConvertUIToolkitPointerId(PointerEventData sourcePointerData)

    error CS0115: 'InputSystemUIInputModule.ConvertUIToolkitPointerId(PointerEventData)': no suitable method found to override

    Any idea about I'm getting this? On an empty project it works, is there something that can cause some conflicts with the BaseInputModule?

    Thank you so much!

    PS - I currently got rid of this by commenting all #if UNITY_2021_OR_NEWER code in the UI scripts of the package. It built in this way, but dunno why this is happening :)
     
    Last edited: Nov 8, 2023