MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Interactable Focus broken. Activates when not actually in focus

Open Troy-Ferrell opened this issue 7 years ago • 1 comments

Describe the bug

When creating a new interactable, the component will respond to focus theme values when the object is not actually in focus. Just activating the left or hand line ray pointers into space will cause the interactable to become in "focus" even when the hand ray isn't pointing at the cube

What is odd is that the bucky ball in the InteractablesExample scene works as expected. It appears after reloading the scene or some such change, the interactable will start working as expected. So there is some default initialization value causing the odd behavior.

At first the emerald box was not working then on re-opening the scene a second time, it started working. When I created a new orange cube, that one started off broken.

interactable-focus-bug

interactable-focus-bug-2

To reproduce

Create new scene Add MRTK with HL2 default profile Create cube and add interactable component Add Target of Cube and add "Model_BuckyTheme" as theme

image

Expected behavior

The model should only rotate when articulated hands actually focuses on the collider of the cube.

Screenshots

If applicable, add screenshots to help explain your problem.

Your Setup (please complete the following information)

  • Unity Version 2018.4.5
  • MRTK Version Stabilization branch

Target Platform (please complete the following information)

  • HoloLens
  • HoloLens 2
  • WMR immersive
  • OpenVR

Additional context

Add any other context about the problem here.

Troy-Ferrell avatar Aug 06 '19 16:08 Troy-Ferrell

@Troy-Ferrell and I could not repro this in development or release branches, closing.

killerantz avatar Aug 07 '19 17:08 killerantz