Question by 
               Magnificent_7 · Jun 05, 2021 at 02:06 PM · 
                animationaudioanimatorsynchronization  
              
 
              Trouble with syncing 2D animationClip and AudioClip on Opening Animation
Hello everybody,
For the opening of my game, I would like to make an animation. So, I have an AnimationClip (made with keyframe and using the Animator component) and a AudioClip. Both last 4.00s.
I launch both of them at Start()
        void Start()
         {
                m_animator.Playm_animationClip.name);
               m_audioSource.clip = m_audioClip;
               m_audioSource.Play();
         }
         
 
               Believe it or not, the AudioClip starts BEFORE the AnimationClip.
Even when I use the method of enabling the AudioSource in the AnimationClip (see here : https://answers.unity.com/questions/297319/animation-play-audio.html), the sound starts before. I have to enable the AudioSource 10 frames after the beginning of the animation for it to be sync.
Why ? Does anybody know ?
               Comment
              
 
               
              Your answer