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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Why is animation clip auto save changes when disable game object?

Discussion in 'Animation' started by dttngan91, Nov 17, 2015.

  1. dttngan91

    dttngan91

    Joined:
    Nov 21, 2013
    Posts:
    80
    I have an issue related to animator controller. For example, I have 2 states in animation controller, the first one changes scale properties of game object while the second state affects position. Game object is running in state 2 and then is disabled. After re-enable this game object, its state in animator resets to the first one as I understand from Unity docs, however, its position changes from the last frame of the second state right before it is disabled.

    Can I avoid this situation without auto save animation from Unity?
     
  2. dttngan91

    dttngan91

    Joined:
    Nov 21, 2013
    Posts:
    80
    Anyone?