Skip to content

Unable to reference Valve.VR Namespace outside of SteamVR folder #707

@The-Beekeeper

Description

@The-Beekeeper

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.
image

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Unity issueAn issue that unity needs to fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions