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

[solvers

Open holomatt opened this issue 3 years ago • 0 comments

Describe the bug

--When SolverHandler is set to Tracked Handedness Left+Right, HandConstraintPalm Up First Hand Detected and Last Hand lost Unity Event fields do not function. --When there are two SolverHandler with Tracked Handedness set to Left and Right respectively, HandConstraintPalmUp Last Hand Detected field does not consider the opposing hand.

To reproduce

--Add SolverHandler, HandConstraintPalmUp, HandBounds to a GameObject

  1. Set a single instance of SolverHandler to Tracked Handedness Left+Right or Everything
  2. Hook feedback to HandConstraintPalmUp First Handed Detected and Last Hand Detected Fields

OR

  1. Add two instances the above component setup and set TrackedHandedness for one to Left and the other to Right
  2. Hook feedback to HandConstraintPalm Up First Hand Detected and Last Hand Detected Fields for each solver

Expected behavior

--A single SolverHandler set to Left+Right or Everything should fire events correctly --Last Hand Detected field on HandConstraintPalmUp should consider the opposing hand

Your setup (please complete the following information)

  • Unity Version 2021.3
  • MRTK Version 3.pre-14

Target platform (please complete the following information)

  • Editor UWP w/Sim Hand
  • HL2

Additional context

In pre.12 this scenario also generated an Assertion Failed:

Microsoft.MixedReality.Toolkit.HandednessExtensions:ToXRNode (Microsoft.MixedReality.Toolkit.Handedness) (at Library/PackageCache/[email protected]/Utilities/Extensions/HandednessExtensions.cs:93)

holomatt avatar Jan 27 '23 08:01 holomatt