Search Unity

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

Feedback We need a way to disable "Write Defaults" in the Playables API

Discussion in 'Animation' started by Kybernetik, Sep 17, 2020.

  1. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    2,541
    If the animation in a playable controls a particular property and you play a different playable that doesn't control that property, it will act as if the other animation was animating that property to set it to 0 every frame.

    This is why the "Write Defaults" toggle exists in Animator Controllers and something similar needs to exist in the Playables API for the exact same reason.

    I've also tried playing around with Animation Jobs, but there doesn't even seem to be a way to detect whether or not a particular playable is animating a property (other than the hacky assumption that value == 0 means it's not being animated which will obviously not always be a viable workaround).
     
    DebugLogError and LudiKha like this.
  2. LudiKha

    LudiKha

    Joined:
    Feb 15, 2014
    Posts:
    140
    Agreed - I'd really like this feature too.
     
    DebugLogError likes this.
  3. DebugLogError

    DebugLogError

    Joined:
    Jul 24, 2013
    Posts:
    57
    I need this feature too.
     
    LudiKha likes this.