cancel
Showing results for 
Search instead for 
Did you mean: 

Oculus does not connect to .exe build (Unity)

aisolveltd
Honored Guest

Hi, I have been creating an application for the Windows platform through Unity. I have the latest version of the Oculus SDK for Unity.

 

When I run the build (exe file), I am able to connect the HMD to the application and the scene is visible through it. However, when I run the same build in another PC, it doesn't work. The HMD and the Oculus app don't detect it.

 

I have tried the same in systems, which have Unity Editors and also in those that don't, but with the same result. I also tried to print some OVR plugin property and that prints fine. In summary, the build works fine in my PC but not in any other.

 

Am I missing something in the build process?

 

Unity version: 2021.3.13f1

Packages.png

Any help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

aisolveltd
Honored Guest

This issue has been fixed. I had to set the OpenXR Runtime option in the Oculus app to "Oculus as Active".

View solution in original post

1 REPLY 1

aisolveltd
Honored Guest

This issue has been fixed. I had to set the OpenXR Runtime option in the Oculus app to "Oculus as Active".