Well, that shouldn't happen. All we can think of is incorrect project setup. Are you using the URP or the standard rendering pipeline?
I just setup the URP correctly but the shader is not working idk why?