Scalar Param not working as a constant?

Hello,

I am working on a material that has to be changed by code. I am using scalar parameters to change the UV and panning coordinates.

But even though ue4 documentation states scalar parameters are constant variables that can be changed on runtime. I keep getting different results between a normal constant or scalar params.

How is that possible?

As you can see on this screenshot a constant with a value of 1 gives different results than a scalar parameter with a value of 1

HI!

It look like a bug in UE 4.9.
In UE 4.8 and UE 4.10.0 I got a similar results with the constants and parameters, but in UE 4.9 not.

Thanks for the fast response, yes it surprised me because I couldn’t remember having this problem before. And yes I tried it in 4.8 and it works fine there.