Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Trouble with InputActions and XR on new Input System when using legacy XR support

Discussion in 'AR/VR (XR) Discussion' started by drakfyre, Jun 4, 2020.

  1. drakfyre


    Oct 6, 2011
    Here's the project in question:

    Open Scenes/BaseVRProject

    The VRPlayer GameObject in the Hierarchy has an attached script called ArtificialVRMovement. This script should cause the player to move when the left thumbstick is moved on my device (Oculus Touch controller) but ReadValue keeps reporting I enable the InputAction in OnEnable.

    This problem occurs even if I use specific bindings for my controller. I believe that there's a bug here somewhere.

    Also, another strange bug: I have Tracked Pose Drivers on the LeftHand and RightHand GameObjects. If I change the binding in ArtificialVRMovement at runtime for some reason the tracking on both the Tracked Pose Drivers stops completely.

    Thank you very much for your help in troubleshooting this.