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

HandMenu causes warning display and app glitches

Open AdCCooN opened this issue 5 years ago • 6 comments

Describe the bug

I know that there was an old issue of the HandMenu not working in the old MRTK versions. In my current setup (details below) the hand menu is working but I still get the warnings "HandConstraintPalmUp requires a palm joint, but none was provided by ArticulatedHand Controller Left.", "HandConstraintPalmUp requires a palm joint, but none was provided by ArticulatedHand Controller Right." and it also seems that the app glitches (major FPS drop) when the warnings are displayed. Sometimes the warnings come constantly and sometimes just from time to time. Usually the warnings are displayed when one hand is in the view and the other one isn't.

To reproduce

Steps to reproduce the behavior:

  1. Create project with Unity 2020.3.6f1 and MRTK 2.6.1
  2. Build and deploy on Hololens 2 the HandMenuLayoutExamples scene from the MRTK (add also a debug console view)
  3. Play a bit with the hand menu and take the hand in and out from the view of the hololens.
  4. Warnings are displayed sometimes and app seems to have a FPS drop in that moment.

Expected behavior

No warnings should be displayed.

Your setup (please complete the following information)

  • Unity Version 2020.3.6f1
  • MRTK Version 2.6.1
  • Windows XR Plugin 4.4.2
  • XR Plugin Management 4.0.3

Target platform (please complete the following information)

  • HoloLens 2

AdCCooN avatar Jul 28 '21 09:07 AdCCooN

Hello @AdCCooN thank you for your Hand Menu issue submission! I am going to need some more information from you about the issues that you are seeing.

Are you using XR SDK or OpenXR when you see this issue? If you are using OpenXR, what version of OpenXR are you using? I see that you attached the debug console view to the deployed Hand Menu example scene app. When you deploy the Hand Menu example scene to device, are you using the Debug or Release build configuration option in Visual Studio? The Debug build configuration option has a noticeable performance hit on device and this is what you could be seeing with the the FPS drop when the warnings are generated.

elbuhofantasma avatar Aug 17 '21 06:08 elbuhofantasma

Hey @elbuhofantasma I am having the same issue

Unity 2020.3.16f1 MRTK 2.7.2.0 Master on ARM64 EDIT: MS OpenXR plug-in 1.0.1

Messages come pretty fast on the console.

I can produce a recording if you want.

jmfranz avatar Aug 19 '21 14:08 jmfranz

Hello @elbuhofantasma,

Sorry for forgetting to mention those details.

I am using Windows XR Plugin v.4.4.2 with XR Plugin Management v4.0.3

When I deploy my app to the Hololens 2 I am using the Release + ARM64 build configuration in Visual Studio.

AdCCooN avatar Aug 23 '21 13:08 AdCCooN

We also have this issue. We had it on this setup: Unity 2019.4 Legacy XR MRTK 2.5.2 ARM

We actually correlated this to a Holographic Windows OS update. i.e with no change to the app and only changing the OS started producing this warning message. I believe it was the May release of 21H1 which caused it.

We've since upgrade to Unity 2020.3 MRTK 2.7.2 Both ARM and ARM64 Both OpenXR and WMR XR.

All these combinations still produce this issue. You can also get it using Holographic Remoting to the Unity editor, so very easy to reproduce.

My guess would be that the OS is reporting the existence of the hand "controller" before it's made the hand joint information available. Or perhaps some callbacks are being called in a different order.

WikkidEdd avatar Sep 24 '21 08:09 WikkidEdd

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

stale[bot] avatar Apr 17 '22 02:04 stale[bot]

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 visithttps://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!

IssueSyncBot avatar Jan 13 '24 00:01 IssueSyncBot