Forum Discussion
sh0v0r
10 years agoProtege
How to Stop OVRPlugin on Mac without removing it.
I've been getting my Mac build of Lunar Flight updated, Lunar Flight has a non VR mode created before it started it's second life as a VR game. To make things easy I use a single project and don't want to have to deal with removing the Utilities Folder just for Mac builds.
When I run the build there is a bunch of stuff filling up the log related to the OVRPlugin class. To get the Mac build to run I have to turn off the Virtual Reality Supported flag in the player settings, which isn't a bing deal but the log spam is causing a stall during initialisation.
Most of the spam is:
Fallback handler could not load library /user/seanedwards/Desktop/LunarFlight.app/Contents/Framework/MonoEmbedRuntime/osx/OVRPlugin
etc...
Is there a safe spot to platform #ifdef out the attempted dll importing, am I even on the right track as to whats causing it?
When I run the build there is a bunch of stuff filling up the log related to the OVRPlugin class. To get the Mac build to run I have to turn off the Virtual Reality Supported flag in the player settings, which isn't a bing deal but the log spam is causing a stall during initialisation.
Most of the spam is:
Fallback handler could not load library /user/seanedwards/Desktop/LunarFlight.app/Contents/Framework/MonoEmbedRuntime/osx/OVRPlugin
etc...
Is there a safe spot to platform #ifdef out the attempted dll importing, am I even on the right track as to whats causing it?
1 Reply
Replies have been turned off for this discussion
- vrdavebOculus Staff
"sh0v0r" wrote:
When I run the build there is a bunch of stuff filling up the log related to the OVRPlugin class.
What messages are you getting? A log would help. We force PlayerSettings.virtualRealitySupported to true if you have an active OVRManager in your scene. However, that doesn't force you to use VR. You can still disable it by setting VRSettings.enabled = false. If you do that, OVRPlugin will not be used. You can also force VR off in a pre-existing build with "-vrmode None" (see http://docs.unity3d.com/Manual/VROverview.html).
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 8 months ago