Closed liudger closed 1 year ago
I think I found another issue. The parameters are not hashed when playback runtime starts?
My previous code was a bit different. We get the config from json file and set in editor not at runtime (our workflow requires fully configured characters as package uploaded to the cloud). So the hash of the parameters are still null. I had this on Awake:
void Awake()
{
foreach (AnimatorInfo par in parameters)
{
par.nameHash = Animator.StringToHash(par.name);
}
}
I found another issue 😄 . It's not a bit issue but the issue was that the smooth was causing really small values being pushed to the animator. And this could cause issues
I'll create a pull request with the fix
When selecting asset on disk with ulipsyncAnimator this error appear in console and interface is broken.
To prevent this error I would suggest checking if the animator is enabled? Or is there another way to fix this when still able to see and edit the parameters?