Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Issue in Unity 2022.2 with sprites changing after playing an animation:

Discussion in 'Animation' started by esco1979, Feb 2, 2023.

  1. esco1979

    esco1979

    Joined:
    Mar 18, 2014
    Posts:
    138
    I upgraded to Unity 2022.2.1F1 a few days ago (followed by each version afterwards up until the current 2022.2.5F1) and noticed a very annoying issue. When using Mecanim, if I set a sprite under a sprite renderer, then play an animation for it, then STOP the animation, the sprite I set under the renderer will now have changed. And will not change back to the previous sprite unless I manually set it again. This can be reproduced infinitely.

    Is anyone else having this issue?
     
  2. esco1979

    esco1979

    Joined:
    Mar 18, 2014
    Posts:
    138
    Hello? Is it just me here or is this a legit bug for others?
     
  3. IlyaFilippov

    IlyaFilippov

    Joined:
    Jun 29, 2020
    Posts:
    3
    Same problem, very hard to work

    I upgraded to a later version because on 2022.1.14 animation was constantly crashing with error "
    InvalidCastException: Specified cast is not valid" related thread
     
  4. esco1979

    esco1979

    Joined:
    Mar 18, 2014
    Posts:
    138
    Yes it is. I am perplexed as to why more people are not commenting on this thread then? I was starting to think it was an issue only I was having.

    EDIT: I have submitted a bug report. I recommend doing the same.
     
  5. esco1979

    esco1979

    Joined:
    Mar 18, 2014
    Posts:
    138