WebGL+Unlit Shadergraph Renders Grey

Problem:
Shader doesn’t work in browser with a WebGL build. Below image shows expected behaviour and actual behaviour.

Shader:

The shader is unlit, and based on my testing seems to have a problem with the group of nodes on top, depicted in the image below. I’ve tried removing the time, tiling, and normal components but they don’t seem to be the source of the issue. When the top chain is removed completely, the bottom group performs as expected.

Tests:
-Works great as a local build

-Same shader doesn’t work as Lit Shader

-Basic Unlit shaders made with Shadergraph don’t work in my original file, but in a brand new project are fine

-Tested in Chrome and Firefox

Settings:

-Unity 2021.1.2f1

-URP Version 11.0.0

-WebGL compression disabled build

-URP High Quality Asset with Forward Renderer, Depth and Opaque textures enabled

-Shadergraph

-Mirror Networking

I’m not convinced it’s the fault of the shader so much as some setting or WebGL compatibility I don’t know about. I’m not very advanced in all of this. If anyone has resolved this, has some leads or tips, I’d greatly appreciate it!

Solution: I’ve changed the shader precision to half and it seems to have done the trick! Now works in WebGL as expected.