Skip to main content
Participant
Sep 22, 2016 10:07 AM UTC

New Oculus Rift not detected with Unity build

Hello,

I brought the new oculus rift this week (Europe) for working with Unity3D 

Unity 5.4.1f1, Oculus utilities 1.8.9 installed.

When I'm working on the Unity Editor, everything is working fine, oculus detected, camera head tracking working fine.

But when I build a .exe, nothing works, the Oculus Rift is not detected.

conf : 

Dx11
GC : Gtx970
Proc : i76700

The oculus is working fine with the oculus market place.

Any ideas? 
This topic has been closed for replies.

23 replies

sennin31Author
Participant
Sep 22, 2016 10:12 AM UTC
Edit : The only thing working for me is to build in development mode, but this in not acceptable for my customers...
sennin31Author
Participant
Sep 22, 2016 10:14 AM UTC
Edit2 : in output_log.txt, in release mode, there is a error line saying : "Security error. This plugin is invalid!" displayed multiple times. Nothing in development build.

Sorry for my multiple answers, I didn't noticed the "edit" button....
Inspiring
Sep 22, 2016 2:15 PM UTC
Try updating to 5.4.1.p1 (under patch releases). Support for 1.8 is in the patch release.
sennin31Author
Participant
Sep 22, 2016 2:26 PM UTC


Try updating to 5.4.1.p1 (under patch releases). Support for 1.8 is in the patch release.


Hello and thanks for your response, I will try it
sennin31Author
Participant
Sep 22, 2016 2:48 PM UTC
With 5.4.1.p1, same bug. 
Inspiring
Sep 22, 2016 3:59 PM UTC
> "Security error. This plugin is invalid!" displayed multiple times.

Have you modified or replaced the OVRPlugin.dll in your Unity install folder or in the built app's _Data/Plugins folder? Please use the version that comes with Unity.
sennin31Author
Participant
Sep 22, 2016 4:31 PM UTC

vrdaveb said:

> "Security error. This plugin is invalid!" displayed multiple times.

Have you modified or replaced the OVRPlugin.dll in your Unity install folder or in the built app's _Data/Plugins folder? Please use the version that comes with Unity.


No, I made a fresh install of Unity, and changed nothing in my built app's folder 
Inspiring
Sep 22, 2016 4:40 PM UTC
This error means that Unity is somehow using an invalid copy of OVRPlugin. If you can attach output_log.txt, it will say where the DLL is located.
sennin31Author
Participant
Sep 22, 2016 4:45 PM UTC

vrdaveb said:

This error means that Unity is somehow using an invalid copy of OVRPlugin. If you can attach output_log.txt, it will say where the DLL is located.


Thanks !
Inspiring
Sep 22, 2016 4:56 PM UTC
Looks like Unity no longer reports the location of OVRPlugin.dll. Can you PM me a build of your game?