Not able to animate the materials separately in one Mesh

I was trying to animate my materials in one mesh using same shader but its not allowing me to do that,i am attaching a video also .
I have 2 materials in my mesh i want to show a flow of water with that ,i am animating, my grow value(Variable in shader) with the animation but its changing for both of my materials as they are having the same shader,i tried creating a variant but that is also not working.
In Unreal they have feature " materials instancing ",with that its possible,but here In unity ,we can only get instanced material at runtime.
I want to animate my materials one by one ,so that i can show a flow of water from container to pipe.since meshes are using the same water shader ,i am not getting 2 variable in the property section.
Is it a bug?
or its not even possible in unity ?

I am having the same issue but am not finding a solution to this problem.

write a script that have two properties :
value0, value1
then in script Update() takes
meshRenderer.materials[0].SetFloat(“yourValueProperty”, value0);
meshRenderer.materials[1].SetFloat(“yourValueProperty”, value1);

in your animation clip, animate this script’s value0 and value1 instead