Search Unity

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

Question UI Animation broken after upgrading from 2021.3.17 to 2021.3.28 ?

Discussion in 'Animation' started by drazuerg, Nov 25, 2023.

  1. drazuerg

    drazuerg

    Joined:
    Jan 31, 2014
    Posts:
    62
    Hello !

    After upgrading to Unity 2021.3.28, I noticed most of my UI animations were broken.

    The issue seems to be that the Animator doesn't use the "default" state of objects to animate anymore.

    For example :
    If I have an image which Alpha is set to 1 by default (when I say by default, I mean the state when the animator is disabled).
    • On 2021.3.17, when I produce an animation that includes this image but I don't use any particular keyframe on the Alpha, it will always be set at 1. It was convenient because it really reduces the number of keyframes and made my animations timelines cleaner.
    • Now with 2021.3.28 it seems that if I don't explicitely set the Alpha to 1 in animations, it will take some "seemingly random" values, depending on previous animations played I guess.

    It's quite painful because I have a lot of animation and would be a massive amount of work to redo them all. Plus, it will make all animations timelines much more crowded, I would have to set every single values since it won't use the default ones.

    Not sure exactly when this changed happened, maybe before 3.28 but somewhere between 3.17 and 3.28.

    I'm sorry if this was asked somewhere else but I couldn't find anything on this issue.

    Now my question is :
    Do I need to redo all my animations by hand ? Or is there a script somewhere that can automatically update all my animations ? Or is there a way to set the animator to work as before ?

    Thanks for reading thus far and let me know if any precision would be required :)
    Pierre
     
  2. drazuerg

    drazuerg

    Joined:
    Jan 31, 2014
    Posts:
    62
    Hello there! Any update on this topic? Any help would be more than welcome :)
    Thank you!