Spinebot Ok , Thanks for your reply , i will try these step . but my issue happen not everytime, it means the animation can play sometimes, and also works great on editor, so i think the animation clip resource is good, also clean track code and SetToSetupPose is good,and FullUpdate is not need set because skeleton rendering in screen range,I sure if skeleton is visible spine will always update animation , this is my code below, maybe there is something wrony:
//this is my timeline bind object function
public void SetTrackBind(string trackName, UnityEngine.Object obj)
{
if (bindingDict.TryGetValue(trackName, out PlayableBinding pb))
{
playableDirector.SetGenericBinding(pb.sourceObject, obj);
}
}
//spineAnim is my spine skeleton animation
SetTrackBind("A_Spine", spineAnim);
//try clean animation before
spineAnim.AnimationState.ClearTracks();
spineAnim.Skeleton.SetToSetupPose();
spineAnim.Update(0);
spineAnim.LateUpdate();
//timeline play, notice anthor thing on timeline is work good
playableDirector.Play();