Applying shader onto DepthMaterial material

Hi, I am trying to implement shaders into my nuitrack depth tracking project using URP but upon changing the material Shader to the created one in shader graph, the depth material stopped working. Is there any way to implement shaders into the DepthMaterial material using URP?

Currently using Unity version 2019.4.29f1

Hello @zenzx
Could you provide a Unity project so that we can consider your problem in detail? And why do you use Unity 2019?