I’ve upgraded from 2020.3.34f1 to 2023.1.0f1 and this seems to have broken something with a shader I’m using in my game.
The result has changed from:

To:

Only the LineRenderer seems to be working; the shader is entirely absent.
I’ve been trying to see what’s going wrong but the only thing out of the ordinary I’ve found is that the shader preview doesn’t seem to be working anymore:
In Unity 2020.3:
After updating to Unity 2023.1:
What I’ve checked:
-Project Settings > Graphics > Scriptable Render Pipeline: Universal Render Pipeline (URP) asset is set
-This asset is a 2DRenderer
-Fooling around with 2D Light settings in a new scene
In short, the shader seems broken in 2023.1 and I’ve no idea what could have caused this.
Any suggestions?

