Trouble getting animation to play in Play Mode

So I have this animation created where it is simply animating a slider on a material as you can see here:

It works when i play the animation in the animation window:

But when I play the game, it doesn’t animate. I have it hooked up to an animator and has 2 states and they both show they are animating when the game is running but nothing int he game window or Scene window…

Did I miss a step somewhere?

Hi there,

It’s pretty much guesswork to predict what you do as you don’t show any code.

It might be more than one thing. First of you are not using standard Unity 5 material I think?

Or how do you setup your code to get material instance?

Normally material is shared, otherwise modifying it would change all the instances.