Controller Menu button is not working with MRTK 0.53.2-v1

Unity Editor version: 2022.2.0b4.2768
ML2 OS version: ML2 OS Release B3E.220721.07-R.026
MLSDK version: 0.53.2
MRTK Magic Leap 2: 0.53.2-v1
Error messages from logs:
Error;NovaInputService;totem_button.h:194: 1 state_=0, isHome=0, isMenu=1, isBumper=0, isTrigger=0, pressed=1, timer_id=-1;
Error;NovaInputService;totem_button.h:242: 2 state_=5, isHome=0, isMenu=1, isBumper=0, isTrigger=0, pressed=1, timer_id=-1;
Info;ml_input;ml_input.cpp:169: on_button_down, controller_id: 0, button: Menu;
Info;ml_input;ml_input.cpp:169: on_button_down, controller_id: 0, button: Menu;
Info;ml_input;ml_input.cpp:169: on_button_down, controller_id: 0, button: Menu;
Info;ml_input;ml_input.cpp:169: on_button_down, controller_id: 0, button: Menu;
Info;ml_input;ml_input.cpp:175: Failed to call client callback function which is nullptr.;

MLControllerMenuDown method from MagicLeapMRTKController.cs: LN 250 does not seem to get called, while others events (trigger, bumper) work fine. As a result - Menu button is not working via MRTK Input System.

Thanks

1 Like

I just loaded up the controller demo scene in the ML Examples and can confirm that the menu button doesn't seem to be working there either.

2 Likes

I have noticed this as well. The release notes note the following, so I assume a fix is in the pipeline.
* Action based input has issue with detecting the menu button and touch pad swipe actions.

https://developer-docs.magicleap.cloud/docs/releases/release-2022-august/unity-sdk-release-notes

2 Likes

Thanks @westert ! That explains a lot.