Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Animator.ProcessRootMotion even when not using root motion.

Discussion in 'Animation' started by GloriaVictis, Aug 16, 2019.

  1. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    101
    Hello,

    We are using 2017.4.LTS version of Unity, our characters use Generic animator type and no root motion at all, the bool is set as false. Still tho, the profiler shows Animator.ProcessRootMotion with around 0.1ms per animator update - which, as many times we have 50+ character on screen significantly affect our FPS.

    Is it normal behaviour or we could evade it anyhow?
     
  2. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    101
    Bump, can anyone confirm this is normal behaviour or how to evade that?
     
  3. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    101
  4. Mecanim-Dev

    Mecanim-Dev

    Unity Technologies

    Joined:
    Nov 26, 2012
    Posts:
    1,670
    yes this is expected, in 2018 this profiler tag has been renamed to Animators.ProcessGraphJob.

    Animator.ProcessRootMotion was a bad name for this step.

    this step is mandatory as it does evaluate the whole animation graph
     
  5. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    101
    Okay, thank you
     
unityunity