Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question My animation in the blend tree sometime can't played successfully

Discussion in 'Animation' started by lhymax, Mar 9, 2024.

  1. lhymax

    lhymax

    Joined:
    Feb 22, 2024
    Posts:
    3
    I find a queer problem when I developing my game.
    I create an enemy prefab.Then I create a blend tree for this prefab and add 11 motions in the blend tree.like this:
    upload_2024-3-9_21-22-41.png

    especially the last motion(other 10 animations just have 1 frame,only the last motion is a real animation),you can find the last frame I added a frame event(to destroy the enemy).
    upload_2024-3-9_21-25-33.png
    However, I found that it didn't play the animation properly every time, but the enemy could be destroyed normally.How to solve this problem?