I am trying to modify the Material By Attribute example, so that I can change the construction year at runtime. I have exposed a property on the construction year shader, and changing it works only when loading the layer.
When trying to update the layer's material using SetFloat after start, the material does not update at all. Is there any specific way to do this?