Depth Texture not working correctly on mobile


I wanted to use a depth texture for water foam and water depth and while it works correctly in the editor (first screen) when I deploy it on mobile it seems to function rather oddly. Not only that but it also shifts in relation to the tiles whenever I move. Is there a fix for this?

Unity version 2019.3.6f1

URP and Shader Graph version 7.4.1

Any help appreciated!

Fixed it. The “Accurate” method in here has worked