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. Dismiss Notice

Question Vive Trackers not being detected when building Unity project.

Discussion in 'VR' started by syedjawadakhtar, May 29, 2023.

  1. syedjawadakhtar

    syedjawadakhtar

    Joined:
    Oct 7, 2019
    Posts:
    1
    I'm using a Valve index with two HTC vive trackers for my project. I do not require the hand controllers. There are no problems with using the trackers when playing in Unity. But when building and running it, the trackers aren't detected for the motion, though the scene is viewed in the Index.

    The trackers are configured in the SteamVR application. It is imported in project by adding the 'StreamVR_Behaviour_Pose' script on the GameObject and assigning the input Source as well.

    Using: Unity 2021.2.13f1, HMD (Valve Index) with Vive Trackers 2.0
    Plugins: OpenVR and OpenXR both are enabled.

    On viewing the Editor.log file, it shows that the lighthouses and trackers are being connected. (Can't attach the debug.log) file.

    I have tried the following, but failed:
    1. Checking the proper configuration of the trackers in the SteamVR application
    2. Switching on the Index controllers when running the build project. (From other answers that i found in this forum).
    3. Using only the OpenVR plugin for the project, switching off OpenXR
     

    Attached Files:

    Last edited: May 31, 2023
  2. Deltigre

    Deltigre

    Unity Technologies

    Joined:
    Sep 13, 2022
    Posts:
    30
    The SteamVR package is created and maintained by Valve so I would recommend contacting them or using their forums for more specific SteamVR support.