Why is driven attribute not updating? Trying to animate an object's material, by simply changing its opacity.

As there is no way to directly change the material properties in the AN node tree, I created a driver to change the value of Transparency's "Alpha".

So, the execution flow goes like:


"Object Attribute Output" creates/change a property named "alpha" within the object;
this property is used by the driver to...
set that object's material transparency.


In theory this should work, but:


it works with text objects;
it does not work with any other type of object.


Am I doing something wrong? Or is this supposed to be that way?
No sure why the driver does not update in the cube but does on the text object. This does not seem to be an Animation Nodes bug. It's more likely a dependency graph problem of Blender.

What you can do is to control the transparency of the material directly by using active_material.alpha as path in the Object Attribute Output node.