Distance Field shader doesn't appear in editor but does when changing values

I’m working on some more complex uses for Distance Fields in shaders and for some reason they don’t seem to be seen in editor, I made a simple test material and even the distance field tonearestsurface in a simple linear int doesn’t stick once I’ve changed those values. The weirdest part is I can see it working when changing the values but once that’s done it resets to nothing.

Has anyone experienced anything similar, or knows of why this might be happening?