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.

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,240
    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:
    137
    Agreed - I'd really like this feature too.
     
    DebugLogError likes this.
  3. DebugLogError

    DebugLogError

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