Search Unity

2D Animation preview.5 package makes editor slow

Discussion in 'Animation' started by drazuerg, Sep 7, 2019.

  1. drazuerg

    drazuerg

    Joined:
    Jan 31, 2014
    Posts:
    14
    Hello all,

    I am in the process of animating my 2D game. I installed the 2D Animation package, running on Unity 2019.2.2f1 (also tried 2.4f1), and the editor becomes slower for some reason. Here are my repro steps :
    • I created a new empty project
    • When I press PLAY, it usually takes about 2-3 seconds to play my empty scene
    • Just also tried with another somewhat complex project (not empty) and it also takes no more than 3 seconds to play
    • Now back to the empty project. I'm adding the 2D Animation package. Now pressing play takes more than 6 seconds ! Removing the package leaves the empty project slow, like it kinda "broke" my project !

    Any idea what could cause that ?

    Thanks !
     
  2. drazuerg

    drazuerg

    Joined:
    Jan 31, 2014
    Posts:
    14
    Hey again,

    Just found what was causing this so I'm posting here in case this happens to others ...
    Remove the "Package" tab from all the windows in the editor. For some reason this makes the editor lags a lot !
    This was not related to the animation package added. Just the tab being open.