Search Unity

Bug XRInteractionManager.ForceSelect does not work properly

Discussion in 'XR Interaction Toolkit and Input' started by garrido86, Dec 21, 2020.

  1. garrido86

    garrido86

    Joined:
    Dec 17, 2013
    Posts:
    233
    I'm developing a AR application (using ARGestureInteractor in scene) and I'm using the XR Toolkit in version 1.0.0-pre.1 with Unity 2019.4 LTS.

    In my use case I need to select an object via a UI Button click and not by directly tapping the object, for this I'm using XRInteractionManager.ForceSelect.
    But when using XRInteractionManager.ForceSelect I can see that the ARSelectionInteractable selected flag is set true and also the event ARSelectionInteractable.onSelectEntered is invoked, but the selectionVisualization does not get activated and furthermore the gestures for moving, scaling and rotation also do not work.

    Doing a physical finger tap on the object works, but that is not what I need in my scenario.
     
  2. Matt_D_work

    Matt_D_work

    Unity Technologies

    Joined:
    Nov 30, 2016
    Posts:
    202
    Please raise a bug on this!