Vrtk: CS0246 SteamVR_PlayArea could not be found

Created on 1 Oct 2018  路  2Comments  路  Source: ExtendRealityLtd/VRTK

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

Most helpful comment

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:

All 2 comments

Vrtk doesn't support steam vr 2 plugin

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:

Was this page helpful?
0 / 5 - 0 ratings