-
Couldn't load subscription status.
- Fork 411
Description
Hi all,
I'm using Unity 2022.3.21f1, MRTK 4.0.0-pre.1
For testing, I'm using the XR Device Simulator in the editor.
I'm encountering an issue where hover using RayInteractor works fine, but selection via click (mouse left-button) doesn't trigger while testing in the editor.
In contrast, everything works correctly in builds and when using a real HMD.
β
Important Note:
When using Gaze-based interaction, both hover and select work properly, even in the editor.
β Problem (Editor only)
While using XR Device Simulator to simulate hand rays, hover state appears visually on UI or interactable GameObjects.
However, clicking (mouse left-button) does not trigger selection.
At the moment of clicking, the ray direction changes unexpectedly, and the attachTransform.rotation is updated.
πββοΈ Question
Is there a known issue in MRTK4 regarding RayInteractor + XR Device Simulator click detection in the editor?
Could the XR Device Simulator's left-click be conflicting with UI events?
Is there a workaround to make far interaction selection work in the editor with mouse clicks?
Thanks in advance π