Hi, thank yoou for your comment
I was looking into the code and is probable to happen if you are tipically doing half to full walks around the world, is that the case? It's a rough estimation, cause it never happened to me after a fix I made.
When the wave goes away, the water left behind gets scaled to 0 and moves to the other half of the world (from player position), and it's active on default, cause never thought about that before.
But in that state is attracted by the wave a lot and can go to your position and hit you in certain loop sync.
Useful comment, I must say. Glad that you didn't find the immortal ramp