Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

SteamVR tries to enable OpenVR support and Unity 2020 continuously disables it

Discussion in 'VR' started by masta-yoda, Jul 30, 2020.

  1. masta-yoda

    masta-yoda

    Joined:
    Apr 19, 2020
    Posts:
    12
    I'm unable to open my Unity VR project after Unity 2020.1 upgrade. This update disables old XR settings in project settings and requires to use new XR Plug-in Management:




    <b>[SteamVR Setup]</b> Enabled virtual reality support in Player Settings. (you can disable this by unchecking Assets/SteamVR/SteamVR_Settings.autoEnableVR)
    UnityEngine.Debug:Log(Object)
    Valve.VR.SteamVR_AutoEnableVR:Update() (at Assets/SteamVR/Editor/SteamVR_AutoEnableVR.cs:56)
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
    <b>[SteamVR Setup]</b> Added OpenVR to supported VR SDKs list.
    UnityEngine.Debug:Log(Object)
    Valve.VR.SteamVR_AutoEnableVR:Update() (at Assets/SteamVR/Editor/SteamVR_AutoEnableVR.cs:91)
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
    XR SDK Provider detected in project. Disabling VR Device settings for Standalone
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions()


    I'm unable to open the settings file to disable the auto import settings so I went to `SteamVR_AutoEnableVR` and commented the whole `Update` method. After this I'm able to run my project but it crashes on start with missing `openvr` dll error

    Can I use `steamvr` unity plugin with the new XR Plug-ing Management unity system?
     
  2. Kalidor

    Kalidor

    Joined:
    Sep 13, 2017
    Posts:
    14
    Hi!

    I'm using this Version of the SteamVR-Plugin. After installation you have to check OpenVR Loader in the XR-Plugin Management Settings. It's working so far.
     
unityunity