The new AnimationComponent is much heavier than old one?

Hi guys!

I’ve noticed that changing an animation by calling AnimationComponent.play('some_anim.glb') on just a single model causes quite heavy performance drop (takes about 8ms):

Didn’t notice this issue with older AnimationComponent (playcanvas engine v1.37.1):

image

1 Like

Hi Igor,

Thanks to bringing this to our attention! I’ve recently made changes to animation path resolution which will be source of this performance drop. I’ll investigate this and get back to your shortly!

1 Like