Face tracking returns all-zero blendshape data despite FACE_TRACKING permission granted
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Domain
- computer-vision, mobile-dev
Research direction
Start with XRFaceTrackingFeature and the XR_ANDROID_face_tracking integration, reproducing the all-zero blendshape results on the listed Samsung Galaxy XR environment. Check the permission, calibration, initialization, warm-up, and headset-mode conditions raised in the issue; done means identifying the runtime requirement or confirming a package/runtime defect and recording the verified behavior.
Written by the indexing model from the issue text.
Description
Summary
After granting android.permission.FACE_TRACKING, the XR_ANDROID_face_tracking subsystem reports as available but returns all-zero blendshape values. Over a 1.5-second sampling window, 0 out of 87 frames contained any blendshape value above 0.001.
What We Observe
XRFaceTrackingFeaturereports the subsystem as available- All 10 blendshape weights we read (brow raiser L/R, lip corner puller L/R, cheek puff L/R, eyes closed L/R, lip pucker L/R) return 0.0 every frame
- The user has previously calibrated face tracking via Settings > Avatars > Calibrate on the headset
- The permission
android.permission.FACE_TRACKINGis granted (confirmed viadumpsys package)
Questions
- Does face calibration (Settings > Avatars > Calibrate) persist across app launches and headset reboots? We calibrated once and expected it to persist, but subsequent sessions return zeros.
- Is there a way to trigger face calibration from within the app, similar to how eye calibration can be launched via intent (
com.samsung.fitting.eyetracking.calibration)? - Is there a warm-up period or initialization sequence required before blendshape data starts flowing? Our 1.5-second warm-up window may not be long enough.
- Does the face tracking subsystem require the headset to be in a specific mode (e.g., passthrough enabled) to return data?
Use Case
We are building a clinical neurologic exam (SDNE) that measures facial asymmetry — comparing left vs. right blendshape peaks during prompted expressions (raise eyebrows, smile, puff cheeks). This is a standard component of neurologic assessment (facial nerve CN VII evaluation).
Environment
- Device: Samsung Galaxy XR (SM_I610)
- OS: Android XR
- Unity: 6000.3.6f1
- OpenXR runtime with
XR_ANDROID_face_tracking - Permission granted:
android.permission.FACE_TRACKING - Blendshapes accessed via
XRFaceTrackingFeature/ OpenXR face tracking extension
- Dominant language
- C#
- Stars
- 95
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from android/android-xr-unity-package
-
[Feature Request] Support XR_MSFT_first_person_observer for accurately aligned mixed reality captureOpen
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
android/android-xr-unity-package#30 · 1 comment ·
-
Difficulty 4/5 1-2 days Newbie friendliness 18/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
android/android-xr-unity-package#28 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in android/android-xr-unity-package
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Facepunch/sbox-public#12456 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
mcneel/rhino.inside-revit#1736 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
reactiveui/Primitives#254 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Kyrodan/KeeAnywhere#510 ·
-
area-Tools-ILLink untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day