Try disable Auto Graphics API and change Graphics API to WebGPU in Project Settings>Player>Other Settings
I can make a WebGL build in Unity 6.2 with the water rendererd corretly on this setting.
You're a saint, thank you!