Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Animator updates in 5.3 take a really long time

Discussion in '5.3 Beta' started by Dizzy-Dalvin, Oct 7, 2015.

  1. Dizzy-Dalvin

    Dizzy-Dalvin

    Joined:
    Jul 4, 2013
    Posts:
    54
    This is what profiler looked like in 5.1.3f1:


    Surely, it could welcome some optimization, but at least it was playable.

    Now this is how the same situation in the game looks in 5.3.0b1:
     
  2. pierrepaul

    pierrepaul

    Unity Technologies

    Joined:
    Jun 19, 2012
    Posts:
    162
    This is insanely slow!

    Can you file us a bug with the project attached ?

    Thanks!
     
  3. pierrepaul

    pierrepaul

    Unity Technologies

    Joined:
    Jun 19, 2012
    Posts:
    162
    Do you get similar results in 5.2 ?

    Also, looking at the update count, its seems you are comparing different numbers of animator ...

    ie : 3 vs 18.
     
  4. Dizzy-Dalvin

    Dizzy-Dalvin

    Joined:
    Jul 4, 2013
    Posts:
    54
    Well, the whole project is over 10 Gb. We'll try isolating the issue in a separate project, but perhaps a little later.

    And yes, 5.2 has a steady fps of 30, so clearly something changed between 5.2 and 5.3.

    As for the number of animators, it probably has something to do with that change.
     
  5. Dizzy-Dalvin

    Dizzy-Dalvin

    Joined:
    Jul 4, 2013
    Posts:
    54
    Okay, finally had time to address the problem. It seems this only occurs when update mode is set to AnimatePhysics. I've created a test project, removed all textures and meshes, and replaced all the animations in controller with just one, and the slowdown is still there. Also, not quite sure, but it's probably related to the fact that we have a ginormous blend tree.
    I've filed a bug report with test project included: case 737549.

    And we've managed to reproduce this in 5.2.1f1, so I was wrong earlier.
     
  6. pierrepaul

    pierrepaul

    Unity Technologies

    Joined:
    Jun 19, 2012
    Posts:
    162
    Hi.

    We have found and fixed the bug.

    it should be in 5.2.2p2

    cheers.

    pp
     
  7. Dizzy-Dalvin

    Dizzy-Dalvin

    Joined:
    Jul 4, 2013
    Posts:
    54
    Great, that was really quick.