Unity has stated that they will not fix this bug.
RESOLUTION NOTE: Thank you for bringing this issue to our attention. Unfortunately, after careful consideration we will not be addressing your issue at this time, as we are currently committed to resolving other higher-priority issues, as well as delivering the new animation system. Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However we know each case is different, so please continue to log any issues you find, as well as provide any general feedback on our roadmap page to help us prioritize.
GameObject does not stop moving when being moved by an AnimationClipPlayable
and the AnimationClipPlayable
is paused.
- Open the "SampleScene".
- Enter play mode, and you will see the character walking in the Game view.
- Click the "Toggle Playable" button, and you will see the character's animation paused, but the character's transform unexpectedly keep changing.
- [Temporary fix] Click the "Toggle Playable" button again, and you will see the character's animation resume.
- [Temporary fix] Click the "Toggle Playable and SetTime" button, and you will see the character's animation resume, and the character's transform remains the same as expected.
This issue can be temporarily fixed by calling animationClipPlayable.SetTime(animationClipPlayable.GetTime())
after animationClipPlayable.Pause()
has been called.
using UnityEngine.Animations;
using UnityEngine.Playables;
public static class PlayableExtensionsPlus
{
public static void Pause(this AnimationClipPlayable playable)
{
PlayableExtensions.Pause(playable);
playable.SetTime(playable.GetTime());
}
}