Search Unity

[sovled] does unity skip frame animation events?

Discussion in 'Animation' started by craig4android, Apr 30, 2020.

  1. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    124
    I just realized that for some reason an animation event isn't called which is a big issue because my whole game logic relies on those events, and now it seems like those events might be skipped if unity drops frames.

    Could this be an issue or is the error somewhere else in my code?
     
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    2,570
    I know of some issues with events at time 0 or at the exact end of the clip, but in general they should be reliable. If you can narrow down the issue to something in Unity you should report a bug via the Help menu.
     
  3. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    124
    ty for you help, after hours of testing it doesn't exactly to be that the event isn't called it's more likely an issue with the animator. IDK I'm freaking out there is so much code and I can't find the exact error

    Guess I solved, the animation event was called but the animator didn't play because I had some issues in the animator.
     
    Last edited: Apr 30, 2020