Controller input loss around two minute mark

Hi,
For a little background we are developing an app used for ocular research with Unity OpenXR.

Within the app there is an exercise where the user needs to press the bumper on the controller when they see a certain image appear.
Typically when this exercise is running the user may have the controller resting in their lap or down at their side, seemingly outside the visual range of the headset.

The aforementioned exercise can run for several minutes at a time and we've been experiencing an issue where button input from the controller stops registering right around the two minute mark unless the controller is brought back into view of the headset.

So it would seem the controller tracking (pose/button input) goes into a type of standby around two minutes out of view of the headset.

My question is this:
Is there a way to customize or to disable this apparent tracking timeout either with the Magic Leap SDK or somewhere in Unity so we don't lose the bumper inputs when the controller has been out of view for an extended time?

I've been digging through the related docs both for ML and Unity with no luck yet to reveal what I seek.

Note: we're using the OpenXR implementation with Unity's "new" Input System.

Unity Editor version: 2022.3.42 OpenXR
ML2 OS version:1.10.0
Unity SDK version: 2.5.0
Host OS: Windows

Thanks for any and all help!

Hi @erik.d,

Welcome back to the forums. Thank you for describing your use-case. I would like to ask, does your application use the Hand Tracking Subsystem?

Hi @etucker thank you for your response.

No, the app does not actively/intentionally make use of the hand tracking subsystem.
In Project Settings > OpenXR > Enabled Interaction Profiles we just have the following profiles added:

  • Magic Leap 2 Controller Interaction Profile
  • Eye Gaze Interaction Profile

I do see that in Project Settings > MagicLeap > Permissions (at API Level 29) all of the permissions have been checked on; that includes "com.magicleap.permission.HAND_TRACKING".

Other than that there is nothing else jumping out at me regarding hand tracking.

Currently, there is no way to disable the controller from not tracking if it has been out of view, stationary, or moved too far over a period of time. The ability to disable this "standby" mode is currently not on our roadmap, however I have submitted your feedback to our voice of customer team based on this thread.

Hi @kbabilinski, thanks for your response.

Understood, and thank you for that submission. :saluting_face:

1 Like