Search Unity

IGNORE THIS, FIXED - Tap never being performed?

Discussion in 'Input System' started by Coconutski, Oct 15, 2019.

  1. Coconutski

    Coconutski

    Joined:
    Sep 6, 2019
    Posts:
    2
    Hi, i'm trying out the new input system but can't get taps to ever be "Performed", they always jump straight from "Started" to "Cancelled". In the screenshot below I've set the max tap duration as 2 seconds, yet somehow it manages to start and cancel within the same second. All the binding is doing is to call a function with a CallbackContext, check if it's a tap interaction and in print the phase. This problem means that I can't differentiate taps from holds for my game.

    Am I understanding something wrong? upload_2019-10-15_10-18-39.png
     
  2. Coconutski

    Coconutski

    Joined:
    Sep 6, 2019
    Posts:
    2
    I updated from 2019.2.8 to 2019.2.9 and for some reason it fixed itself, so I have no idea what was going on. At least it works now :D, sorry for wasting anyone's time.