How can I prevent Water4 on iOS lagging more/degrading over time?

Hello, I’ve been playing around with water4 on an iPad Air2 using Unity 5.1.2p1 and I’m really not having much luck.

Adding it to a blank iOS project I get the following result: Dropbox - Error - Simplify your life
(As you can see its perfect to begin with, but if you skip to the end of the video and you’ll see that the performance has slowly over time degraded to the point of being terrible.)

I remember reading something once (long ago when it wasn’t relevant) about some kind of water variable that can’t trail off into infinity on the iPad and needs to be reset every now and again programatically but I’ve been searching and searching and can’t find where I read that.

Disabling the gerstner displace component of the water solves the problem. DO NOT delete the component, just disable it.

Of course this is more of a compromise then a solution as it also disables gerstner displace, so if you want your water mesh to actually deform you’ll be out of luck.

I think a full solution to the problem could be resetting v.vertex.xyz in the FXWater4Simple.shader every three minutes or so. However I suck at shader programming so I have yet to find a way to do this. (Protip, don’t set it to 0, it really doesn’t like that :wink: .)

I’m quite content to simply not use gerstner displace over here, but if anyone does manage to cobble together a full solution I’d be quite interested to hear how you did it.