Water Pro Shaders (Gerstner Waves) Problem on ios

Hi guys:

I built an example with water , which imported from unity3d’s package “water pro”. When running on my ipad air, the waves got slowly and slowly as the time past by, but frame rate was fine, about 60fps.

It was weird, so I tried this on macbook, directly running the example at unity editor, and it was all right, the waves were smooth all the time.

Does anybody know?

Thanks for your help.
best regards

It is probably because of the _Timer value increases to float max value limits. Although im not sure if this is the case,
Instead using a custom timer that loops between 0-some small value and passing this value as time solves such issues for me.

Thanks very much, let me try

I have tried using “C# time” and “Unity Time” instead of “_Timer”, but the problem is still there.

It happens in about 170+ seconds when app started, not exactly.

i said loop it.

something like time++; if time > 100; time = 0;

yeah. got it. thank you