-
Notifications
You must be signed in to change notification settings - Fork 160
Description
Hi,
I’m working with Unity 6, MRTK3, and XREAL SDK on Beam Pro (Android).
My scenario:
Using MRTK XR Rig.
With Hand Tracking enabled, I can successfully use the pinch gesture to trigger Select.
When I switch to Virtual Controller (XREAL) in project settings (XR Plug-in Management → XREAL, Initial Input Source = Controller, Virtual Controller prefab assigned), I see the ray coming from the controller.
However, pressing the trigger button on the Beam (touchpad press, mapped as TriggerButton [XREAL Controller] in the Input Action Asset) does nothing.
What I’ve tried:
Added TriggerButton [XREAL Controller] binding to the Select action (MRTK RightHand).
Confirmed the action is enabled in Input Action Manager.
In Play Mode inside Unity Editor, I sometimes see the action fire, but on the real device (Beam Pro, APK build) pressing trigger does not activate selection.
Verified the ray interactor exists in the XR Rig and works with pinch input.
Questions:
Is there any known limitation of MRTK3 with non-OpenXR providers like the XREAL plugin?
Do I need to replace/extend SelectInputReader or other MRTK components to correctly hook into the XREAL controller actions?
Has anyone integrated XREAL Virtual Controller with MRTK3 successfully, so the trigger can drive Select just like pinch?
Any guidance or examples would be greatly appreciated!
Thanks