Facial blendshapes not driven after applying Meta face tracking scripts to GLB imported via UnityGLTF

Aperta
#852 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@robertdorn83 ci sta già lavorando.

Dal 22/5/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Describe the bug 💬

I'm encountering an issue when instantiating a .glb file using the UnityGLTF loader from KhronosGroup. After loading the model, I apply Meta's face tracking setup script using:

AddComponentsHelper.SetUpCharacterForA2EARKitFace(gameObject, false, true);

The script components are correctly added to the avatar, but the face tracking does not animate or affect the blendshapes of the model. The blendshapes remain static, even though the tracking pipeline appears to be active.

I tested the exact same process using GLTFast instead of UnityGLTF, and in that case, everything worked as expected — the facial expressions were correctly applied through the blendshapes. However, due to some package constraints, I prefer using UnityGLTF.

Steps to reproduce 🔢

Steps to Reproduce:

  1. Instance a .glb avatar using UnityGLTF.
  2. Apply SetUpCharacterForA2EARKitFace(...) from Meta's Movement SDK.
  3. Run the scene with active face tracking (using a OVRCameraRig, from the All-In-One-SDK of Meta, with "Record Audio for audio based Face Tracking"). Or Just a script that after instancing the model modifies its blendshapes
  4. Build and run the app on a Quest 1, 2 or 3 device

Image

Observe that no blendshape animation occurs.

Files to reproduce the issue ♻

ModelForTesting.zip

Editor Version 🎲

6000.0

Render Pipeline and version

URP 17.0.4

UnityGLTF Version

2.14.1

Operating System 👩‍💻

Windows

When does this problem happen?
  • Editor Import
  • Runtime Import
  • Editor Export
  • Runtime Export
Additional Info 📜

No response

Validations 🩹
Lingua principale
C#
Stelle
2.3k
Fork
539
Merge medio
3g 15h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di KhronosGroup/UnityGLTF

Tutte le issue di KhronosGroup/UnityGLTF

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.