ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
352 stars 82 forks source link

Meta Pro Controllers do not appear or do not track if they do appear #244

Open bearaccount opened 1 year ago

bearaccount commented 1 year ago

Using Unity 20203.43 LTS with VIU: 1.17.0 (tried with and without latest unofficial release)

Steps to reproduce:

Expected outcome:

Actual outcome:

Additional Steps to reproduce:

Actual outcome:

Thanks

bearaccount commented 1 year ago

I also get these warning / errors: 2023/01/23 15:48:56.665 13809 13838 Info Unity Activated XRLoader Name: Open XR Loader 2023/01/23 15:48:56.672 13809 13838 Info Unity Device connected: 0 / HMD / Unknown / Head Tracking - OpenXR (HeadMounted, TrackedDevice) / Head Tracking - OpenXR 33 / Head Tracking - OpenXR (HeadMounted, TrackedDevice) 2023/01/23 15:48:56.693 13809 13838 Info Unity [XR] [489714679120] [15:48:56.693][Error ] xrSyncActions: XR_ERROR_PATH_UNSUPPORTED

chengnay commented 1 year ago

Hi @bearaccount, Sorry for the late response. I will take a look at this issue. Need to borrow Meta Pro from other team to debug.

chengnay commented 1 year ago

Hi @bearaccount, Did you import Oculus Integration SDK?

chengnay commented 1 year ago

Hi @bearaccount, It seems that Oculus deleted OvrAvatar folder. We might need more time to update load Oculus Controller model part.

bearaccount commented 1 year ago

Any update on the Oculus Controller model for Quest Pro issue? Thanks!

chengnay commented 1 year ago

Hi @bearaccount, Which Oculus Integration SDK are you using? We are still trying our best to fix the controller model issue. It might take some time to study the latest Oculus Integration SDK.

UPDATE: You might check out the Oculus Integration SDK v38 which is the last version that has OvrAvatar folder. I am not sure if this version works with Quest Pro. I will try the apk on Quest Pro tomorrow and update the result here. For the above method, it does work but it shows Quest 2 controller model.

I tried to copy Avatar folder from v38 and paste it to v50 project. It does load controller model but the model will not align with your hmd. For example, it loads Quest controller when I use Quest 2 HMD.

chengnay commented 1 year ago

Hi @bearaccount, Here is a quick fix, you can add OVRControllerPrefab prefab to RightHand and LeftHand. image Remember to change the Controller to R Touch and L Touch accordingly.

One more thing is that you will need to add OVRManager.cs to your scene. Feel free to ask question if you have any.

chengnay commented 1 year ago

Hi @bearaccount, Recently, there is an update to v1.18.1. If tested no issue, could you close this issue? Thanks!