gatosyocora / VRCAvatarEditor

Unity Editor Extension supported to edit VRChat avatar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

表情作成時に作成したアニメーションファイルのBindingPathに(Clone)がついたものが登録される

gatosyocora opened this issue · comments

edittingAvatarをInstantiateで作成していたことが(Clone)がついていた原因だったが、
そもそもアニメーションのパスが意図していないものになっている

パス作成に使用していたAnimationUtility.CalculateTransformPath(target, root)の引数が逆になっていたのが原因だった
https://docs.unity3d.com/ja/current/ScriptReference/AnimationUtility.CalculateTransformPath.html

406ebae で修正