-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRTK3] When the MetaXR feature is enabled in the OpenXR Feature Group, the Ray is no longer displayed in Quest hand tracking. #113
Comments
Original comment by:I was having the same issue... I walked into this issue because I tried to make passthrough working by importing Oculus Integration. With MetaXR enabled, not only does the ray not folllow hands anymore, I could also not do any pinch interactions. But... I was able to press buttons with the tip of my index finger |
Any work around besides disabling the Meta XR feature group entirely? Any other thoughts\ideas on how to get these important features to work? |
So, there is still no update/workaround for this ? |
Not all features of the Meta XR feature group are available, but with Unity OpenXR: Meta, pass-through and some features are available without Oculus Integration. |
Thank you for this message. I will use this workaround/solution until they officially support it. |
I am also facing exactly the same thing. I want to switch between pass through and no pass through in the software, but when I encountered a problem, I had to check MetaXR to achieve pass through. However, there was a problem with the hand ray and the same problem occurred. When I disable MetaXR, pass through fails. Is there any update on this issue at present? |
I face the same thing, in unity 2022.3.26f1 and meta XR core SDK 64.0.0, i am not use Oculus Integration. update: |
Hi, still no workaround using meta sdk for this ? |
Update @spg666 : I managed to have hands and controllers work in far while keeping meta xr sdk by modifying a few prefabs, scripts and the interaction profile. Step 1 - Make sure that PolyfillHandRay is present as a pose source in the MRTKRayInteractor of the "Far Ray" object in each controller in the scene :Step 2Now, mind that the polyfill hand is working for quest hands, but when meta xr enabled, the values aren't read in polyfill but in "InputAction", which isn't null but all values are at zero. Now we could just invert the order in the PoseSourceList, but that might cause issues if we're doing crossplatform, but more importantly makes Quest 3 controllers incorrect (the ray will go from the hand and not the tip of the controller). So we need to modify the FallbackCompositePoseSource script so that we can ignore InputAction values (and so fallback on polyfill) with quest hands, but not with any other controller. FallbackCompositePoseSource , add :
FallbackCompositePoseSource, modify
Step 3Now those modifications implies other modifications, this time in MRTKRayInteractor : MRTKRayInteractor, add :
(And plug this InputAction into it for each hand)
MRTKRayInteractor, in the Update method, add this before the current code :
Now we have : hand tracking, ray display, BUT ! The pinch action isn't detected any more. STEP 4 - in the MRTK interaction profile, add the following for each hand :(provider comes from meta aim package from openxr-meta) STEP 5 - My OpenXR settings are as follows : There you go ! |
Which version of meta xr sdk and MRTK are you using? |
@zxzkf1992 At the time of my post, MetaXR SDK v.66.0.0, and MRTK Core & Input v.3.2.1, Tools v.3.0.3, SpatialManipulation v.3.3.0. Unity 2022.3.12f1 |
thx, one question is that I didn’t find the definition of controllerDetectedAction in MRTKRayInteractor. Is it because the version of MRTK is different? |
Original issue opened by:
@spg666
Describe the bug
When the MetaXR feature is enabled in the OpenXR Feature Group, the Ray is no longer displayed in Quest hand tracking.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Even when the MetaXR feature is enabled, the Ray should still be visible during hand tracking on Quest.
Your setup (please complete the following information)
Target platform (please complete the following information)
Additional context
When the MetaXR feature is deactivated within the OpenXR Feature Group, the Ray properly appears during hand tracking on the Quest.
Furthermore, while the hand tracking system allows for successful button interaction, it fails to respond to the ObjectManipulator.
The Ray is visible when using Oculus Link to run the application within the Unity Editor.
ISSUE MIGRATION
Issue migrated from: microsoft/MixedRealityToolkit-Unity#11553
The text was updated successfully, but these errors were encountered: