Hello,
I have some animations that rely upon animating a sequence of images to represent a projectile launch explosion. However, some of the frames are being skipped. Which frame goes missing will change with each playback, so it's not any particular frame that is failing, but it's always one frame that is missing.
The animator has tried two methods, enabling/disabling the assets in each slot, or animating the opacity to full/zero alpha. Both methods produce the same "missing frame" result.
The script that triggers the anim does so like this....
mSkeletonAnim.state.SetAnimation(0, animName, false);
mSkeletonAnim.state.AddAnimation(0, cIdleAnimName, true, 0.0f);
I've attached a gif that contains the attack animation being triggered every second or so. You can see that last frame sometimes contains a long laser line, but sometimes it shows a shorter laser line. Never the short followed by the long as intended.
You can also see that the frame rate is high enough that it shouldn't be dropping any frames. I've also slowed down the Time.timeScale to 0.1 but that doesn't fix the problem. It still drops frames.
Has anyone come across this missing frame problem?
Thanks for any help