Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    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:
    136
    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:
    136
    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:
    136
    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:
    136