DllNotFoundException, Kinect v2 conflicting with Rift plugin
I am trying to integrate the Kinect v2 plugin for use with the Rift in Unity but I'm running into some weird DLL import issues. Here is the issue as best that I can narrow it down: after importing both the Rift and Kinect v2 plugins THEN closing Unity, when trying to open and run Unity in a scene using the Rift a DllNotFoundException occurs for the Rift.
What is interesting is that before closing Unity, both plugins work fine together. It's only after closing Unity that the DllNotFoundException occurs. Of course the .dll it's looking for is there, yet an error is still returned as if it weren't. Another interesting point is that completely removing the Rift plugin then reimporting does not solve the issue. Also removing the Kinect plugin and leaving the Rift plugin does not solve the issue. The only way I have found to get the Rift plugin working correctly with the Kinect v2 plugin also in the project is to:
1) remove both the Rift and Kinect v2 plugins and associated files from the project
2) close Unity
3) reimport the Rift plugin
4) reimport the Kinect v2 plugin
Is anyone else working with both the Kinect v2 and Rift plugins or does anyone have any ideas for solutions?
What is interesting is that before closing Unity, both plugins work fine together. It's only after closing Unity that the DllNotFoundException occurs. Of course the .dll it's looking for is there, yet an error is still returned as if it weren't. Another interesting point is that completely removing the Rift plugin then reimporting does not solve the issue. Also removing the Kinect plugin and leaving the Rift plugin does not solve the issue. The only way I have found to get the Rift plugin working correctly with the Kinect v2 plugin also in the project is to:
1) remove both the Rift and Kinect v2 plugins and associated files from the project
2) close Unity
3) reimport the Rift plugin
4) reimport the Kinect v2 plugin
Is anyone else working with both the Kinect v2 and Rift plugins or does anyone have any ideas for solutions?
