Hello, it seems that for whatever reason I am unable to reference the Valve.VR class when the script lies outside of the SteamVR folder within Visual Studio 2017. But only within unity 2019.3.12f1, when I import my project into unity 2018.4.22f1 it works perfectly fine and I can reference the class whenever and wherever. I've been at a loss for a solution, and I would greatly appreciate any and all assistance. And as far as I can see it should work within Unity 2019.3, please correct me if I am wrong.
Using unity 2019.3 within the SteamVR/InteractionSystem/Sample folder.
Using unity 2019.3 in a scripts folder outside of the SteamVR folder.
Using unity 2018.4 in a scripts folder outside the SteamVR folder.
The text was updated successfully, but these errors were encountered:
The-Beekeeper
changed the title
Visual studio 2017 unable to reference Valve.VR class outside of SteamVR folder in unity 2019.3
Visual studio 2017 unable to reference Valve.VR Namespace outside of SteamVR folder in unity 2019.3
May 3, 2020
Yeah, strangely this is a Unity 2019.3.12 bug. It works fine in 2019.3.11. I'd recommend downgrading or waiting for a fix as 2020+ is still in beta/alpha. https://unity3d.com/get-unity/download/archive
zite
changed the title
Visual studio 2017 unable to reference Valve.VR Namespace outside of SteamVR folder in unity 2019.3
Unable to reference Valve.VR Namespace outside of SteamVR folder
Apr 28, 2021
Hello, it seems that for whatever reason I am unable to reference the Valve.VR class when the script lies outside of the SteamVR folder within Visual Studio 2017. But only within unity 2019.3.12f1, when I import my project into unity 2018.4.22f1 it works perfectly fine and I can reference the class whenever and wherever. I've been at a loss for a solution, and I would greatly appreciate any and all assistance. And as far as I can see it should work within Unity 2019.3, please correct me if I am wrong.
I am using SteamVR plugin version 2.5.0
Update: I updated to unity 2020.1.0b7 beta and installed the OpenVR plugin made for unity's new XR plugin system along with the SteamVR 2.6 beta. And now all my problems have disappeared, still have no idea why I had this problem in the first place.
Using unity 2019.3 within the SteamVR/InteractionSystem/Sample folder.

Using unity 2019.3 in a scripts folder outside of the SteamVR folder.

Using unity 2018.4 in a scripts folder outside the SteamVR folder.

The text was updated successfully, but these errors were encountered: