Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS0246 SteamVR_PlayArea could not be found #1907

Closed
mwardeck opened this issue Oct 1, 2018 · 2 comments
Closed

CS0246 SteamVR_PlayArea could not be found #1907

mwardeck opened this issue Oct 1, 2018 · 2 comments

Comments

@mwardeck
Copy link

mwardeck commented Oct 1, 2018

NOTE: Any issue that does not follow the below template will be immediately closed and not re-opened until the template structure is adhered to.

Precheck

  • Do not use the issues tracker for help or support (try VRTK Slack channel, Stack Overflow, etc.)
  • For proposing a new feature, please check existing open and closed issues before creating a duplicate
  • For bugs, do a quick search and make sure the bug has not yet been reported
  • Finally, be excellent to each other, and party on dudes!

Environment

  • Source of VRTK (Unity Asset Store or Github): Github
  • Version of VRTK (Unity Asset Store/Github release number) (Github master commit hash): 3.2.1
  • Version of Unity3D (e.g. Unity 5.4.4f1): 2018.2.4f1
  • Hardware used (e.g. Vive/Oculus): Vive
  • SDK used (e.g. OpenVR/SteamVR/Oculus Utilities): SteamVR 2.0.1

Steps to reproduce

Attempt to recreate the issue in a VRTK example scene and provide steps to reproduce in a clear text step by step list. Include code samples, errors and stacktraces if appropriate.

Do not upload custom projects with custom code to demonstrate the issue.

This is an issue that prevents VRTK from working at all, so even example scenes will not work.

Expected behavior

Using Unity 2018.2.4.f1, when I add the latest versions of the SteamVR plugin (2.0.1) and VRTK (3.2.1) everything is fine, but when I try to update older projects...

Current behavior

I have a couple of older projects from last fall and spring that I'm trying to update. Using Unity 2018.2.4f1, when I add the latest versions of the SteamVR plugin (2.0.1) and VRTK (3.2.1), I immediately get the following 2 errors:

Assets/VRTK-master/Assets/VRTK/Source/SDK/SteamVR/SDK_SteamVRBoundaries.cs(20,19): error CS0246: The type or namespace name SteamVR_PlayArea' could not be found. Are you missing Valve.VR' using directive?

Assets/VRTK-master/Assets/VRTK/Source/SDK/SteamVR/SDK_SteamVRBoundaries.cs(122,27): error CS0246: The type or namespace name SteamVR_PlayArea' could not be found. Are you missing Valve.VR' using directive?

I check the SteamVR > Scripts directory and SteamVR_PlayArea is definitely there. Has anyone encountered this before? I can't seem to find anything on it.

@thestonefox
Copy link
Member

Vrtk doesn't support steam vr 2 plugin

@quintesse
Copy link
Contributor

For people who don't know how to solve this: you need to download and install an older version of the SteamVR plugin that works with VRTK:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants