Search Issue Tracker
Fixed
Fixed in 2.0.4, 2.2.0
Votes
6
Found in [Package]
2.0.2
Issue ID
XRIT-18
Regression
No
XR Interactor Reticle Visual not working with UI
I'm trying to create a reticle object using XR Interaction Toolkit for both 3D and UI interaction. I've setup my scene just as described here, but instead of using a XR Ray Interactor with a XR Interactor Line Visual (which works fine on the UI), I'm trying to use a XR Interactor Reticle Visual. This doesn't work on the UI, but if I add a 3D object with a XR Grab Interactable it works as intended. Is this behavior by design or unusual, because for me it's rather strange?
This is the inspector view of the Reticle game object.
!upload_2021-11-8_17-48-9.png!
Comments (1)
-
Dennis-DeRyke
Feb 17, 2023 04:23
Tests with the following configurations show correct UI interaction using XR Ray Interactor with XR Interaction Reticle Visual in XR Interaction Toolkit 2.0.4 and 2.2.0.
Unity 2020.3.44f1
XR Interaction Toolkit 2.0.4 and 2.2.0
Quest One
BuiltIn RP
MacOS 12.6.1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
- VFX Graph font size change does not adjust Sticky Note size when smaller font size is selected
- Rendering Debugger has a “Go to Section” burger button even when the section is already opened and does nothing when pressed
- SIGSEGV error when adding EditorApplication.delayCall callback declared in complex generic type and exiting Unity in `Performanc
- Resize cursor does not appear while approaching window edge from inside the player window when using Input System as the Input Handler
Resolution Note (fix version 2.2.0):
Fixed issue where `XRInteractorReticleVisual` script did not properly detect ray casts with UI objects. The fix is to first try the `XRRayInteractor` `TryGetCurrentRaycast` result, which takes into consideration UI elements.
Tests with the following configurations show correct UI interaction using XR Ray Interactor with XR Interaction Reticle Visual.
Unity 2020.3.44f1
XR Interaction Toolkit 2.0.4 and 2.2.0
Quest One
BuiltIn RP
MacOS 12.6.1
Resolution Note (fix version 2.0.4):
Fixed issue where `XRInteractorReticleVisual` script did not properly detect ray casts with UI objects.
Tests with the following configurations show correct UI interaction using XR Ray Interactor with XR Interaction Reticle Visual.
Unity 2020.3.44f1
XR Interaction Toolkit 2.0.4 and 2.2.0
Quest One
BuiltIn RP
MacOS 12.6.1