uezo/ChatdollKit

Error when the face expression is not resistered

Opened this issue · 1 comments

uezo commented
          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 commented

↑This should be warning, not error.