Depth buffer a frame ahead of game view

Using URP and Unity 2022.1.23f1.

I’ve been implementing a water shader that uses the depth buffer, and in editor view everything is working perfectly, however when I switch to game view it looks like the game view is one frame behind the depth buffer, when rotating you can see the depth is “leading” the meshes/terrain.

I took an old project from 2019 and updated it to 2022.1.23f1, and that project has no issues, however making a new project, changing the pipeline to URP and only placing a plane and a cube produces the same bug, so I feel there is a settings issue somewhere that I’m missing?

fixed it, had to change the Depth Texture Mode to After Opaques rather than after transparents