Is this a bug? Getting non-shadergraph shaders to be SRP compatible seems difficult. Tried it on Unity 2021.3.16f1
Try URP/unlit