Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when the face expression is not resistered #232

Open
uezo opened this issue Jun 10, 2023 · 1 comment
Open

Error when the face expression is not resistered #232

uezo opened this issue Jun 10, 2023 · 1 comment

Comments

@uezo
Copy link
Owner

uezo commented Jun 10, 2023

          Thank you for your help! The bug is fixed. However, another one shows up as follows:
KeyNotFoundException: The given key 'Neutral' was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <1c8569827291471e9db0dcd976e97952>:0)
ChatdollKit.Model.VRCFaceExpressionProxy.SetExpressionSmoothly (System.String name, System.Single value) (at Assets/ChatdollKit/Scripts/Model/VRCFaceExpressionProxy.cs:85)
ChatdollKit.Model.ModelController.UpdateFace () (at Assets/ChatdollKit/Scripts/Model/ModelController.cs:487)
ChatdollKit.Model.ModelController.Update () (at Assets/ChatdollKit/Scripts/Model/ModelController.cs:104)

I guess the problem is that a non-existing expression is used?

Although I have programming experience, I am new to Unity. Again, I need your advice.

Originally posted by @royshan in #230 (comment)

@uezo
Copy link
Owner Author

uezo commented Jun 10, 2023

↑This should be warning, not error.

uezo added a commit that referenced this issue Jun 10, 2023
Avoid errors when setting unregistered face expressions #232
@uezo uezo mentioned this issue Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant