Jump to content

Unity Controller Detection


nsosa
 Share

Recommended Posts

Hi all,

I am currently having an issue with developing an application in Unity for the VIVE Focus 3. As I understand it, if you intend to be able to run the application natively on the headset it must be build to Android, meaning you can't use SteamVR (if I am incorrect please let me know how I would do this correctly). I had little trouble setting up the controls for SteamVR but now that I am attempting to use the OpenXR and WAVE Sdk, Unity no longer detects my controllers though it does detect the headset. I've tried many different tutorials and feel as though I must be missing something but am not sure what it is. I am also doing the connection via USB C as opposed to wirelessly so I am unsure if this is the cause of the issue, so if anyone has done this with the wired connection I would like to here your experience. Any suggestions or clarity on how to properly set that up would be greatly appreciated.

Link to comment
Share on other sites

Hi @nsosa,

In order to run application directly from VIVE Focus 3, you will need the WAVE SDK or OpenXR for Mobile VR to create VR content for Android (APK file). Kindly check the VIVE WAVE SDK and VIVE OpenXR For Mobile documentation as they contain all the needed information to get you started. You can build your content with Unity ,Unreal Engine or natively.

You can also run SteamVR or PC VR OpenXR content on VIVE Focus 3 via VIVE Business Streaming. VIVE Business streaming allows you to steam PC content to VIVE Focus 3 through USB Cable or Wifi.

Link to comment
Share on other sites

10 hours ago, Mark Moukarzel said:

Hi @nsosa,

In order to run application directly from VIVE Focus 3, you will need the WAVE SDK or OpenXR for Mobile VR to create VR content for Android (APK file). Kindly check the VIVE WAVE SDK and VIVE OpenXR For Mobile documentation as they contain all the needed information to get you started. You can build your content with Unity ,Unreal Engine or natively.

You can also run SteamVR or PC VR OpenXR content on VIVE Focus 3 via VIVE Business Streaming. VIVE Business streaming allows you to steam PC content to VIVE Focus 3 through USB Cable or Wifi.

Hi Mark,

Thank you for your response. I have no issue getting the connection up and running, but it seems as though Unity can not detect me controllers. I have gone through multiple tutorials and all result the same. While using SteamVR as the plugin in unity there were no issues, but while attempting to use OpenXR it only detects the headset. Is there a project that exists that I can use as a framework to see if I'm just missing something?

Link to comment
Share on other sites

So I guess you are using the VIVE Wave OpenXR Plugin - Windows correct ? You can download the OpenXR "Controller Sample" from the package manager.

image.png.f2f664e2699ceca8871989ace6c63080.png

Also make sure that you have the following OpenXR Settings (under Project Settings > XR Plug-in Management > OpenXR )

VIVE Wave OpenXR is enabled under OpenXR Feature Group and HTC Vive Cosmos Controller Support is selected as the Interaction Profile.

image.png.392cd7af3b31f937e7ce511c6ca41f3e.png

Link to comment
Share on other sites

7 hours ago, Mark Moukarzel said:

So I guess you are using the VIVE Wave OpenXR Plugin - Windows correct ? You can download the OpenXR "Controller Sample" from the package manager.

image.png.f2f664e2699ceca8871989ace6c63080.png

Also make sure that you have the following OpenXR Settings (under Project Settings > XR Plug-in Management > OpenXR )

VIVE Wave OpenXR is enabled under OpenXR Feature Group and HTC Vive Cosmos Controller Support is selected as the Interaction Profile.

image.png.392cd7af3b31f937e7ce511c6ca41f3e.png

Hi Mark,

Thank you again for your response. I previously only had the VIVE Wave OpenXR Plugin - Android plugin but have now added the Windows version though it still gives the same issue of only tracking the headset from what I can tell. I did however add a Player Input component to the scene and that seems to have now done the trick. I think I had one previously so it may have indeed been the missing plugin but I'm not sure. Thank you for your help!
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...