Search Unity

Question Oculus Quest 2 - Thumbstick sends zero input after every input

Discussion in 'XR Interaction Toolkit and Input' started by barrett777, Jan 10, 2022.

  1. barrett777

    barrett777

    Joined:
    Oct 8, 2013
    Posts:
    5
    Hello!

    I'm trying to move via Oculus Quest 2 thumbstick

    I see the intended thumbstick input, followed by Vector2.zero every input

    The result is I never move.

    Using keyboard works just fine - the zero inputs only come when using Oculus Quest 2

    Putting thumbstick on it's own action still has the problem

    Where are the 'zero' inputs coming from? And how do I stop them?

    upload_2022-1-10_11-28-35.png


    upload_2022-1-10_11-28-58.png


    Here's the log of me holding forward on the left thumbstick. See how it alternates between (0, 1) and (0, 0)

    637774390984464437: (-0.2, 1.0)
    637774390984474408: (0.0, 0.0)
    637774390984605497: (-0.2, 1.0)
    637774390984610536: (0.0, 0.0)
    637774390984738728: (-0.1, 0.9)
    637774390984748701: (0.0, 0.0)
    637774390984884485: (-0.1, 0.9)
    637774390984894458: (0.0, 0.0)
     
  2. barrett777

    barrett777

    Joined:
    Oct 8, 2013
    Posts:
    5
    Well I deleted my inputs and reinstalled the Oculus plugin and now it's all working fine. It's a mystery but oh well
     
  3. Riukko

    Riukko

    Joined:
    Jul 14, 2019
    Posts:
    1
    Hey!
    I have the exact same problem on my side, but reinstalling Oculus plugin didn't fix it. By any chance, did you figure why this happened to you?
    Thank you in advance!
     
  4. barrett777

    barrett777

    Joined:
    Oct 8, 2013
    Posts:
    5
    I think what fixed it for me was deleting the default auto created .inputactions file and creating a new one manually