All input on HoloLens2 triggered 2-3 times after updating to OpenXR plugin. #10425
Replies: 4 comments
-
Hey @leonmueller94, this isn't something we've seen before. Can you let us know
|
Beta Was this translation helpful? Give feedback.
-
``We actually solved this issue. The addiional clicks is due to a "Submit Event" that only happens on HoloLens2 device when OpenXR is the active XR Plug-in provider. It happens exactly "on pinch gesture down" If you go to your Event System in Unity and disable "Send Navigation Events", this will "solve" your trigger issue. This is a workaround and not an actual solution, the reason why it works is due to the fact that UnityEngine.EventSystem not ignores the submit event becuase you told it to not send Navigational Events The fact remains that OpenXR still sends a Submit Event, which causes problems on all UnityEngine.UI.Button, since it calls the "Press()" function. It is NOT a issue on the MRTK 3D buttons that are used in the example scene, since these are not actually Unity.UI buttons
|
Beta Was this translation helpful? Give feedback.
-
@keveleigh, do you believe this is the same issue as #10304? |
Beta Was this translation helpful? Give feedback.
-
@keveleigh posted a workaround here: #10304 (comment) please let us know if this fixes your issue. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm working on a project for the HoloLens 2 with MRTK 2.7 and Unity. Yesterday, I've updated my Unity version from 2019.4 LTS to 2020.3 LTS. This meant that I had to change to the new OpenXR plugin and XR Plugin Management.
Most of the things work fine after the update process (hand tracking, rendering, etc.). However, when I deploy and run the app on the HoloLens 2, each select gesture that I perform with the ShellHandRayPointer (i.e. aiming and somthing and pinching my index finger and thumb) triggers twice or three times. For example, if I press on a UI elememt, I can observe that it is being pressed multiple times. As Input Data providers in the MRTK settings I have "OpenXR XRSDK Device Manager", "Input Simulation Service (for running in play mode on PC)", and "Hand Joint Service".
Any help with this issue is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions