Describe the bug
I'm using Unity 2022.3.21f1, MRTK 4.0.0-pre.1, and the new Input System. While testing in the editor using the XR Device Simulator, I can see hover interaction working correctly with RayInteractor, but clicking (via mouse left-button) doesn't trigger selection.
This only happens in the editor — the same scene works fine when built or when using a real HMD.
✅ Gaze-based interaction (hover + select) works perfectly even in the editor.
To Reproduce
Steps to reproduce the behavior:
- Use RayInteractor with XR Device Simulator
- Hover over UI element (hover works)
- Press mouse left-click
- Selection does not occur; ray direction changes unexpectedly
Expected behavior
Clicking while hovering should select the interactable object.
Platform info
- Unity version: 2022.3.21f1
- MRTK version: 4.0.0-pre.1
- Device: Editor with XR Device Simulator
Additional context
attachTransform.rotation changes at click time
Select action bound to <Mouse>/leftButton and pinch is triggered
hoverInteractable and validTargets are set correctly
- Works fine in build and on HMD
Describe the bug
I'm using Unity 2022.3.21f1, MRTK 4.0.0-pre.1, and the new Input System. While testing in the editor using the XR Device Simulator, I can see hover interaction working correctly with RayInteractor, but clicking (via mouse left-button) doesn't trigger selection.
This only happens in the editor — the same scene works fine when built or when using a real HMD.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Clicking while hovering should select the interactable object.
Platform info
Additional context
attachTransform.rotationchanges at click timeSelectaction bound to<Mouse>/leftButtonand pinch is triggeredhoverInteractableandvalidTargetsare set correctly