Skip to main content
New Participant
June 21, 2018

Error when loading in Oculus Utilities for Unity

Hi,

When I load in the Oculus Utilities for Unity, I immediately have an error in one of the scripts which reads "Assets/Oculus/VR/Scripts/OVRPlugin.cs(2876,18): error CS0103: The name `OVRP_1_15_0' does not exist in the current context"
How can I deal with this error? Is there a way to locate OVRP or is that no longer a part of the oculus utilities?
Thank You!
This topic has been closed for replies.

33 replies

New Participant
May 16, 2019
Thanks brandoncash.  Cleared the error for me as well.

Inserted "UNITY_EDITOR_OSX ||" as you posted on line 22.
June 9, 2019
Unity 2018.4.0f1
Android building for Quest
Package Manager: Oculus (Android) 1.36.0

I had to replace     #if UNITY_EDITOR
with:                      #if OVRPLUGIN_UNSUPPORTED_PLATFORM

DistanceGrabber.cs         line: 106
LocomotionController.cs  line: 46
DebugUIBuilder.cs           line: 125
April 13, 2020
@luks0r this method of 
if and else if worked for me thanks!!!!!
I'm currently using mac OS Catalina to develop for G
ear VR Using UNITY 2018.4