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

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?