I recently was trying to use a shader I made for a VR game. I imported the shader and it was working fine, but then I imported steamvr and the example scene, the preview for the shader and the material for the shader turned pink. Does anyone know why this happened and how to fix it?
Since no one has answered this question and I found a solution this is why. It looks like Steam VR changes your graphics settings and disconnects the Scriptable Render Pipeline settings so if you change that back to LWRP- HighQuality it will fix that.
Try add all your used shaders to “Edit > Project Settings > Graphics->Always Included Shaders”. It helps for mobile platforms.