Forum Discussion
Hyper_active
12 years agoStart Partner
DllNotFoundException: OculusPlugin
Hi All,
I'm trying to setup SDK 0.4.0 in my unity project.
I drop the OVRPlayerController in my scene and as soon as I play I get lots (999+) of these errors:
I'm not sure what to do.
It's clearly telling me that Unity can't find the plugin, but it's in the same place as it was for SDK 0.3.2.
And that was working just fine.
I've put the OculusPlugin in all sorts of folders to see if unity was having problems finding it but I still get the same error, whatever I try.
Any ideas?
AB
I'm trying to setup SDK 0.4.0 in my unity project.
I drop the OVRPlayerController in my scene and as soon as I play I get lots (999+) of these errors:
DllNotFoundException: OculusPlugin
OVRGamepadController.GPC_Destroy () (at Assets/OVR/Scripts/OVRGamepadController.cs:85)
OVRGamepadController.OnDestroy () (at Assets/OVR/Scripts/OVRGamepadController.cs:164)
NullReferenceException: Object reference not set to an instance of an object
OVRMainMenu.OnGUI () (at Assets/OVR/Scripts/OVRMainMenu.cs:448)
DllNotFoundException: OculusPlugin
OVRCameraController.Update () (at Assets/OVR/Scripts/OVRCameraController.cs:344)
DllNotFoundException: OculusPlugin
OVRGamepadController.GPC_Update () (at Assets/OVR/Scripts/OVRGamepadController.cs:95)
OVRGamepadController.Update () (at Assets/OVR/Scripts/OVRGamepadController.cs:158)
DllNotFoundException: OculusPlugin
OVRGamepadController.GPC_GetButton (Int32 button) (at Assets/OVR/Scripts/OVRGamepadController.cs:117)
OVRPlayerController.UpdateMovement () (at Assets/OVR/Scripts/OVRPlayerController.cs:249)
OVRPlayerController.Update () (at Assets/OVR/Scripts/OVRPlayerController.cs:168)
NullReferenceException: Object reference not set to an instance of an object
OVRMainMenu.Update () (at Assets/OVR/Scripts/OVRMainMenu.cs:361)
I'm not sure what to do.
It's clearly telling me that Unity can't find the plugin, but it's in the same place as it was for SDK 0.3.2.
And that was working just fine.
I've put the OculusPlugin in all sorts of folders to see if unity was having problems finding it but I still get the same error, whatever I try.
Any ideas?
AB
4 Replies
Replies have been turned off for this discussion
- UberLaxHonored GuestI'm having this problem too, please help!
- cyberealityGrand ChampionYou probably need to move the OculusPlugin to a different folder inside the project.
For example: Plugins/OculusPlugin.dll into Plugins/x86/OculusPlugin.dll.
There should not be any plugins in the plugins root folder. They need to be in x86 or x86_64 subfolders. - UberLaxHonored GuestThanks Cyberreality, you are the best! Everyone needs to see this.
- Hyper_activeStart PartnerThat's great! Thanks Cyber!
This won't work on a Mac will it? There doesn't seem to be any 0.4.0 SDK for Mac... :?:
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
- 12 years ago
- 12 years ago