Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UIElements Animation stutter and items not showing randomly after chaging opacity 0 => 1 via anim

Discussion in '2020.2 Beta' started by MostHated, Sep 16, 2020.

  1. MostHated

    MostHated

    Joined:
    Nov 29, 2015
    Posts:
    1,227
    I noticed that the animations in my editor tool are janky when they play unless I move my mouse while the animation is running. They are perfectly smooth as long as my mouse is constantly moving. If not, stutter city.

    I have noticed that it is not *all* the time, just most of the time. I see that if I alt-tab out and then back it, it almost always ends up doing it at that point.

    I retried the same code in 2020.1.5f1 and the animations are smooth all the time regardless.

    I just made a repro project and submitted it via bug report, but then I noticed that one of my buttons I was animating was randomly not showing when changing Opacity from 0 => 1 via animation as well.

    You can see the animation stutter : https://i.imgur.com/i7jfEdk.gifv

    Then the button issue: https://i.imgur.com/7b0QD3k.gifv
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,125
    Hi @MostHated,

    Thanks for the reports, we'll look into them. For future references, please create separate threads for separate topics. It would also be helpful if you could share relevant bug report IDs when you talk about bugs on the forum, that way we can find them faster.
     
  3. MostHated

    MostHated

    Joined:
    Nov 29, 2015
    Posts:
    1,227
    Sure thing, my apologies.

    The link I got from the bug report email can be seen here 1278085
     
    LeonhardP likes this.