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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

No option of 2D Vector Composite in Input System 1.0.0?

Discussion in 'Editor & General Support' started by B3Designs, May 12, 2020.

  1. B3Designs

    B3Designs

    Joined:
    Apr 11, 2019
    Posts:
    6
    I'm adding the new input system to an existing game, but when adding the input actions through the editor I'm not getting an option of 2D Vector Composite? I am getting 1D Axis Composite, and if I select this I can set positive and negative bindings and so forth, but I simply want to add a WASD action, and it's not letting me.
    I'm running 2019.3.13f1 with input system 1.0.0 (no preview).
    I installed via package manager, set new input in project settings and rebooted.
    I created a settings asset (with all left as default). I also added Gamepad, Keyboard and Mouse to supported Devices (though I have tried deleting these and it made no difference).
    I then added an input actions asset and created an action map with a single action - Movement.
    Expanding the drop down shows <No Binding>, but trying to set the Path under Bindings shows nothing, just Usages.
    Attempting to add a new binding (under Movement) gives me four options, New Binding, 1D Axis, and Button with one or two Modifiers - no 2D Vector.
    I have uninstalled and reinstalled, rebooting between steps, and am now at a loss as to what to try next

    Any Ideas greatly appreciated

    Danny
     
  2. itsPeetah

    itsPeetah

    Joined:
    Nov 4, 2016
    Posts:
    4
    Hi, I had the same problem earlier today and, in case you still need a fix for this (even though it's been a month), I found the solution: I'm leaving this answer here for anyone who needs it.
    The changeling for preview 0.9.3 says "When adding a composite, only ones compatible with the value type of the current action are shown. This will, for example, no longer display a 2D Vector composite as an option on a floating-point button action".
    To show the 2D vector composite just change the action type to "value" and the control type to "Vector2". Now the 2D vector composite option will appear :)
     
    Last edited: Jun 7, 2020
  3. Gmoolenbroek

    Gmoolenbroek

    Joined:
    Jan 5, 2020
    Posts:
    5
    Thank you, very helpful!
     
  4. Iancool328

    Iancool328

    Joined:
    Jan 1, 2022
    Posts:
    1
    I dont have the option at all, how do I get the option?
     
  5. Seraian

    Seraian

    Joined:
    Jul 30, 2017
    Posts:
    2
    This worked for me thank you
     
  6. zedz

    zedz

    Joined:
    Aug 31, 2013
    Posts:
    219
    not very clear at all. took me a while

    as itspeetah saiz

    * where it saiz 1D axis (blue), goto the action above it (green)
    * on action type to the right, change button to value & then composite type to 2D vector
     
  7. leifster

    leifster

    Joined:
    Feb 10, 2022
    Posts:
    1
    wow I had this problem too. thanks
     
    italyataa and unity_4050543 like this.
  8. OmegaBlox

    OmegaBlox

    Joined:
    Feb 21, 2022
    Posts:
    1
    DUDE THANKS SO MUCH
    this helped a lot, though it shows up as "Add up/down/left/right composite" instead of "2d vector composite"
     
  9. SpacePotatoStudios

    SpacePotatoStudios

    Joined:
    Feb 26, 2022
    Posts:
    2
  10. G4LaxyIzNotTaken

    G4LaxyIzNotTaken

    Joined:
    Mar 5, 2022
    Posts:
    1
    I dont get it im new I dont know what chnage the action type to value
     
  11. vadgat777

    vadgat777

    Joined:
    Feb 22, 2022
    Posts:
    1
    Thank you very much helped a lot
     
  12. necrophor

    necrophor

    Joined:
    Mar 27, 2022
    Posts:
    1
    thanks
     
  13. Benyamin631

    Benyamin631

    Joined:
    Apr 1, 2022
    Posts:
    1
    Thanks a lot...!
     
  14. playzslimer

    playzslimer

    Joined:
    Apr 16, 2022
    Posts:
    1
    Thanks a lot it works
     
  15. Hughes_49

    Hughes_49

    Joined:
    Apr 7, 2022
    Posts:
    1
    thanks
     
  16. Kshab

    Kshab

    Joined:
    Jan 17, 2022
    Posts:
    1
    Thank you so much. You saved a life
     
  17. Hardcopy

    Hardcopy

    Joined:
    May 5, 2022
    Posts:
    2
    Thanks a lot :)
     
  18. Keet68

    Keet68

    Joined:
    Jun 27, 2022
    Posts:
    1
    Thanks a lot!
     
  19. Rover64heyou

    Rover64heyou

    Joined:
    Jul 7, 2022
    Posts:
    1
    That did not work for me now its only add up/down/left/right composet
     
  20. QWolfPlaY

    QWolfPlaY

    Joined:
    Aug 24, 2020
    Posts:
    1
    For those who use Input System 1.3.0
    Add 2D Vector composite has been replaced with Add Up/Down/Left/Right Composite option
    That's the same thing

    You need to set Action Properties (green) to Value and Vector 2
    After that, the Add Up/Down/Left/Right Composite option should appear

    If you need 3D Vector Composite, same thing
    Just change Vector 2 to Vector 3 in Action Properties and the option should appear
     
  21. mituvoltol

    mituvoltol

    Joined:
    Jul 25, 2022
    Posts:
    1
    thanks a lot man it was very helpful
     
  22. thenetimp

    thenetimp

    Joined:
    Sep 11, 2021
    Posts:
    12
    Thanks, this was very helpful.
     
  23. bunnugamerz

    bunnugamerz

    Joined:
    Sep 3, 2022
    Posts:
    1
    thank you
     
  24. unity_52C6DD3857B44151B25F

    unity_52C6DD3857B44151B25F

    Joined:
    Feb 8, 2022
    Posts:
    2
    thank you so so much
     
  25. muazzamakhtar

    muazzamakhtar

    Joined:
    Sep 30, 2022
    Posts:
    1
    Thank you, that helped :D
     
  26. nikitagun2021

    nikitagun2021

    Joined:
    Oct 23, 2022
    Posts:
    1
    it didnt work for me helppppp upload_2022-10-24_7-32-53.png
     
  27. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,559
    It works for you, as others in the thread have said it was renamed to "up down left right composite"
     
  28. titangg111

    titangg111

    Joined:
    Oct 25, 2022
    Posts:
    1
    same what can i do
     
  29. Toxicrez

    Toxicrez

    Joined:
    Nov 1, 2022
    Posts:
    1
    this helped so much bro thx a ton!
     
  30. matthewfurlong791

    matthewfurlong791

    Joined:
    Sep 16, 2022
    Posts:
    1
    Thanks So Much
     
  31. Mr_Jumbled

    Mr_Jumbled

    Joined:
    Nov 27, 2022
    Posts:
    1
    thanks thanks thanks thanks thanks thanks vthanks thanks thanks thanks thanks
     
  32. DavoJon12

    DavoJon12

    Joined:
    Jan 3, 2023
    Posts:
    1
    Action type? Where?
     
  33. TS05PRO

    TS05PRO

    Joined:
    Sep 11, 2021
    Posts:
    1
    thanks man
     
  34. a0908816562

    a0908816562

    Joined:
    Dec 11, 2022
    Posts:
    1
    upload_2023-3-14_18-26-50.png

    upload_2023-3-14_18-38-58.png

    upload_2023-3-14_18-39-7.png

    First : Action > Action Type >" Button " change to " Value "
    Second : Control Type > " Button " change to " Vector 2 "
    Third : Add Binding > Add Up\Down\Left\Right Composite

    My English is a little bad, I don't know if my statement is correct,but i
    wish I can help you.(google translate 0.0 )
     
  35. hamzahDev

    hamzahDev

    Joined:
    Mar 14, 2023
    Posts:
    1
    thankyou so much bro helping even in 2023!
     
    ozbejs likes this.
  36. bibiczon

    bibiczon

    Joined:
    Mar 28, 2023
    Posts:
    1
    Thanks I love u
     
  37. LDDubs12

    LDDubs12

    Joined:
    Apr 21, 2023
    Posts:
    1
    right, for people who are stuck, if you use add up/down/left/right composite... it should give a vector 2
     
  38. MortalWolf

    MortalWolf

    Joined:
    May 25, 2023
    Posts:
    1
    Thank you bro, it's working
     
  39. isfowashere

    isfowashere

    Joined:
    Yesterday
    Posts:
    1
    thankyou so much