Fixing a Unity project on which OVR is broken
I have a Unity 4.6.0f3/OVR 0.4.4 project of fairly significant size on which my OVR integration has stopped working. I am getting this error in the console:
first:
DllNotFoundException: OculusPlugin
OVRManager.Awake () (at Assets/OVR/Scripts/OVRManager.cs:328)
then many other errors which I'm sure are related to this initial one. If I build an exe and try to run it, it gives me an error that it can't inject the Oculus DLL. I've tried deleting the OVR folder from the project and re-importing the integration package with the same results. It's like it can't find the Oculus dll?
I know all of my integration files, drivers, etc are working- because if I create a new blank Unity project and scene, and bring in the same OculusUnityIntegration package, it works fine and I can build and go DirectToRift with no issues.
The problem doesn't appear to just be the scene, but the overall project. If I create a new blank scene within the broken project and only have the OVRCameraRig in there, it gets the same error as above.
Any ideas on fixing this? I'd rather not move everything laterally to a new project, as fun as that would be.
first:
DllNotFoundException: OculusPlugin
OVRManager.Awake () (at Assets/OVR/Scripts/OVRManager.cs:328)
then many other errors which I'm sure are related to this initial one. If I build an exe and try to run it, it gives me an error that it can't inject the Oculus DLL. I've tried deleting the OVR folder from the project and re-importing the integration package with the same results. It's like it can't find the Oculus dll?
I know all of my integration files, drivers, etc are working- because if I create a new blank Unity project and scene, and bring in the same OculusUnityIntegration package, it works fine and I can build and go DirectToRift with no issues.
The problem doesn't appear to just be the scene, but the overall project. If I create a new blank scene within the broken project and only have the OVRCameraRig in there, it gets the same error as above.
Any ideas on fixing this? I'd rather not move everything laterally to a new project, as fun as that would be.
