-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Labels
Type: BugA problem with an existing feature that can be fixed with the next patched release.A problem with an existing feature that can be fixed with the next patched release.
Description
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.rotationchanges at click timeSelectaction bound to<Mouse>/leftButtonand pinch is triggeredhoverInteractableandvalidTargetsare set correctly- Works fine in build and on HMD
Metadata
Metadata
Assignees
Labels
Type: BugA problem with an existing feature that can be fixed with the next patched release.A problem with an existing feature that can be fixed with the next patched release.