Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Animation event doesn't fire from blend tree

Discussion in 'Animation' started by Vefery, Dec 31, 2019.

  1. Vefery

    Vefery

    Joined:
    Feb 23, 2018
    Posts:
    119
    I set up animation events, attached script with the function to the same object with Animator but it doesn't work, events don't fire. However if I set up event on my idle animation (first animation in blend tree) and don't move, anim event will fire. What I'm I doing wrong?
     
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    2,554
    Blend Trees fire events on all their animations, so that's not your issue.
     
  3. Vefery

    Vefery

    Joined:
    Feb 23, 2018
    Posts:
    119
    I put walk animation in idle's place and it works like it should. So the problem seems to be with blend tree