Closed jiaming233 closed 9 months ago
We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!
Description
When clicking UGUI button using far pointer, the button previously clicked would trigger onclick event again.
Steps to reproduce
This can reproduce with Mixed Reality Toolkit Examples/Demos/HandTracking/HandInteractionExamples There are 3 buttons in UGUI slate, I registe onclick event for the first button so that it will update its text to show the count of click on itself.
Near interaction works properly: (Expected behavior) 1.Click the first button twice, text turns to 1 and then 2 2.Click the second button, text remains 2 3.Click inputfiled, keyboard shows up 4.Close keyboard 5.Click button, keyboard wont show
https://user-images.githubusercontent.com/26813390/183860414-e7e160fe-f994-42e2-863f-787f6449ffab.mp4
Far interaction: (Actual behavior) 1.Click the first button, text turns to 1 2.Click the second button, text turns to 2 3.Click inputfiled, keyboard shows up 4.Close keyboard 5.Click button, keyboard shows up again
https://user-images.githubusercontent.com/26813390/183859355-a75b99f6-96a8-4c6b-a831-f1e4dc432298.mp4
Unity editor version
Unity 2020.3.29f1
Mixed Reality Toolkit release version
Mixed Reality Toolkit v2.8.2 OpenXR Plugin 1.3.1