Normally animatable properties not animatable when in a struct?

(Not sure if this one should be in the Animation forum)

I noticed today that Textures, which are animatable when they are a property of a MonoBehaviour derived class, are not animatable when they are part of a struct.

For example, say we have the following:

[System.Serializable]
public struct StructWithAnimatableProperties {
    public float structFloat;

    public Vector2 structVector2;
    public Vector3 structVector3;
    public Vector4 structVector4;

    public Texture structTexture;
    public Texture2D structTexture2D;
}

public class TestStructAnimation : MonoBehaviour {

    public float monoBehaviourFloat;

    public Vector2 monoBehaviourVector2;
    public Vector3 monoBehaviourVector3;
    public Vector4 monoBehaviourVector4;

    public Texture monoBehaviourTexture;
    public Texture2D monoBehaviourTexture2D;

    public StructWithAnimatableProperties myStruct;

}

All properties defined directly in the TestStructAnimation class are available for animation. All but the Textures in the struct are available:

Is there a way to get the struct’s Texture properties to be exposed to animation as well? It’d be a shame to break the design pattern of the project just for Textures

Here- although your particular problem is not something that I’m at all an expert in, this topic may be helpful.

Thanks for the input! Unfortunately it doesn’t help in this particular case.

Both the struct and class approaches are serializable in the inspector:

None of the class’ properties are available to animation however.