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. Dismiss Notice

[NotKeyable] does not prevent keyframes from being added in timeline playable behaviour (2019.2.1f1)

Discussion in 'Timeline' started by XRA, Sep 1, 2019.

  1. XRA

    XRA

    Joined:
    Aug 26, 2010
    Posts:
    265
    using the [NotKeyable] attribute on a Vector3 property, when opening the curve editor in timeline, the property is listed and still keyable.

    (reported bug)

    Is there a working way to prevent properties from being listed as keyable in a timeline playable behaviour?
     
  2. danUnity

    danUnity

    Joined:
    Apr 28, 2015
    Posts:
    229
    Hey,

    I'm not sure... I don't even find documentation on what is keyable and what's not...
     
  3. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    I believe the NonKeyable bug is fixed.

    In general, what is keyable are float values that are part of value types - floats, Vectors, colors, etc...even if they are in nested structs.

    Also, object references are keyable as well.