Forum Discussion
kalisclark
12 years agoHonored Guest
DLL errors in Unity
Hi Guys,
I hope someone can help, I am not sure why this is happening, could be a misplacement of folders or something.
Using Unity 4 Version 4.5.2f1
I can get the oculus working fine but for some reason if I save and close and reopen I get this list of errors and the screen is just black.
And this list goes on.
I looked at another post here:https://developer.oculusvr.com/forums/viewtopic.php?f=37&t=6323&p=110384&hilit=DllNotFoundException%3A+OculusPlugin+OVRDevice.Awake+at+Assets%2FOVR%2FScripts%2FOVRDevice.cs%3A147+#p110384
But everyone switched to Mac in the conversation and I never found a resolve.
Does anyone have any suggestions or have the same error?
I hope someone can help, I am not sure why this is happening, could be a misplacement of folders or something.
Using Unity 4 Version 4.5.2f1
I can get the oculus working fine but for some reason if I save and close and reopen I get this list of errors and the screen is just black.
- DllNotFoundException: OculusPlugin
OVRDevice.Awake () (at Assets/OVR/Scripts/OVRDevice.cs:147)
DllNotFoundException: OculusPlugin
OVRDistortionMesh.GetIdealFOV () (at Assets/OVR/Scripts/OVRDistortionMesh.cs:105)
OVRCamera.GetIdealVFOV () (at Assets/OVR/Scripts/OVRCamera.cs:293)
OVRCameraController.InitCameraControllerVariables () (at Assets/OVR/Scripts/OVRCameraController.cs:224)
OVRMainMenu.Start () (at Assets/OVR/Scripts/OVRMainMenu.cs:224)
DllNotFoundException: OculusPlugin
OVRGamepadController.GPC_Initialize () (at Assets/OVR/Scripts/OVRGamepadController.cs:70)
OVRGamepadController.Start () (at Assets/OVR/Scripts/OVRGamepadController.cs:152)
DllNotFoundException: OculusPlugin
OVRDistortionMesh.GetIdealFOV () (at Assets/OVR/Scripts/OVRDistortionMesh.cs:105)
OVRCamera.GetIdealVFOV () (at Assets/OVR/Scripts/OVRCamera.cs:293)
OVRCameraController.InitCameraControllerVariables () (at Assets/OVR/Scripts/OVRCameraController.cs:224)
OVRCameraController.Start () (at Assets/OVR/Scripts/OVRCameraController.cs:193)
NullReferenceException: Object reference not set to an instance of an object
OVRMainMenu.Update () (at Assets/OVR/Scripts/OVRMainMenu.cs:380)
DllNotFoundException: OculusPlugin
OVRGamepadController.GPC_GetAxis (Int32 axis) (at Assets/OVR/Scripts/OVRGamepadController.cs:95)
OVRPlayerController.UpdateMovement () (at Assets/OVR/Scripts/OVRPlayerController.cs:287)
OVRPlayerController.Update () (at Assets/OVR/Scripts/OVRPlayerController.cs:147)
And this list goes on.
I looked at another post here:https://developer.oculusvr.com/forums/viewtopic.php?f=37&t=6323&p=110384&hilit=DllNotFoundException%3A+OculusPlugin+OVRDevice.Awake+at+Assets%2FOVR%2FScripts%2FOVRDevice.cs%3A147+#p110384
But everyone switched to Mac in the conversation and I never found a resolve.
Does anyone have any suggestions or have the same error?
4 Replies
Replies have been turned off for this discussion
- kalisclarkHonored GuestOk so it all works but when you close Unity and reopen, all the dll errors come up and the screen is black. Is there something happening to the scene or project layout upon closing or opening unity?
- kalisclarkHonored GuestThis happens when putting the Leap controller and the Rift Controller in the same scene. But it works fine before I close it. I don't understand why.
- GeraldExpert ProtegeI encountered the same problem and found the solution here: viewtopic.php?f=37&t=6764&p=115859&hilit=leap+motion#p115859
- kalisclarkHonored GuestAw brilliant Gerald! Thank you for this. I will give this a shot later today. :D
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
- 10 months ago