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

未关闭
#852 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@robertdorn83 已经在做这个了。

开始于 2025年5月22日。

评估

这个 Issue 还没有评估数据。

描述

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 🩹
主要语言
C#
星标
2.3k
派生
539
平均合并
3 天 15 小时
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

KhronosGroup/UnityGLTF 的其他 Issue

查看 KhronosGroup/UnityGLTF 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。