Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Invalid AR Blendshapes? #23

Closed
jcMed4 opened this issue Feb 14, 2019 · 2 comments
Closed

Invalid AR Blendshapes? #23

jcMed4 opened this issue Feb 14, 2019 · 2 comments

Comments

@jcMed4
Copy link

jcMed4 commented Feb 14, 2019

I have imported a model with blendshapes and some of them work perfectly, but a great number of them(mostly mouth and eye movements) don't work and I have a lot of this error:

Blend shape BS_node.eyeBlinkLeft is not a valid AR blend shape
UnityEngine.Debug:LogWarningFormat(String, Object[])
Unity.Labs.FacialRemote.BlendShapesController:UpdateBlendShapeIndices(IStreamSettings) (at Assets/facial-ar-remote/Remote/Scripts/BlendShapesController.cs:178)
Unity.Labs.FacialRemote.BlendShapesController:Update() (at Assets/facial-ar-remote/Remote/Scripts/BlendShapesController.cs:121)

screen shot 2019-02-14 at 1 08 02 pm

Does anyone know why this might be happening?

@jonathan-unity
Copy link
Contributor

The plugin uses a the naming that matches the internal string name for the blend shape in the ARKit plugin. If you look at BlendShapeUtils you can see the name that the facial remote is expecting for a given shape.
There is a way to use custom naming for a blend shape. Within the Stream Settings you are using on your Network Stream component on the StreaReader game object, you are able to create mappings from one name to another with the Mappings of the stream Settings.
2019-02-15_13h22_40

@jcMed4
Copy link
Author

jcMed4 commented Feb 18, 2019

Thank you! This worked perfectly!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants