Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[OpenVR, Mac, Editor] HTC Vive is not detected in Editor mode, but works in Build

Discussion in 'AR/VR (XR) Discussion' started by everm1nd, Apr 18, 2018.

  1. everm1nd

    everm1nd

    Joined:
    Jun 25, 2015
    Posts:
    3
    Hi,

    I just started to experiment with OpenVR on Mac and found out that my HTC Vive headset is not being detected in Unity Editor mode, while it works nicely in Build. Of course it's quite annoying to fully rebuild and run app each time, so I'm looking for solution for this. Did anyone faced this problem? Maybe I need to run Unity process with some special flag, as it can be done for build?
     
  2. everm1nd

    everm1nd

    Joined:
    Jun 25, 2015
    Posts:
    3
    I found a fix for this. If you want to make VIVE work in Editor mode - install VIVE Input Utility package: https://assetstore.unity.com/packages/tools/integration/vive-input-utility-64219

    Then you need to open "Preferences -> VIU Settings" and enable "VIVE" checkbox. Then configure scene using prefabs from VIU package (ViveCameraRig and VivePointers) (example here: https://github.com/ViveSoftware/ViveInputUtility-Unity/wiki/Example-0.Tutorial) and when you press play, you'll see mirror of the Vive camera in your Editor View.