Search Unity

Bug VR not working in builds but works in Editor

Discussion in 'VR' started by TheDodgerUk1, Nov 28, 2020.

  1. TheDodgerUk1

    TheDodgerUk1

    Joined:
    Dec 3, 2013
    Posts:
    61
    When i test my code in editor it all works, but when i make a build (x86_64)it cant detect OpenVR.

    I have tracked it down.
    in the build \Projects_Data\Plugins it has openvr_api.dll,
    But in \Projects_Data\Plugins\x86_64 it is not there, if i copy it over it all works.


    its the package manager item "com.unity.xr.openvr.standalone": "2.0.5", which has the dll, but it not copy to the correct folder

    Unity version 2019.3.6f1
    Anyone know why its not being created there ?
     
    Last edited: Nov 28, 2020
  2. mfuad

    mfuad

    Unity Technologies

    Joined:
    Jun 12, 2018
    Posts:
    335