Custom Shader Appearing Pink

I have a project that I’m just messing around with on my PC. The Unity version is 2021.2.0a19.2770. I downloaded this repo the apply a wireframe to my mesh: GitHub - Chaser324/unity-wireframe: General purpose wireframe shaders for use in Unity.. Everything works fine and the wireframe appears as expected. I then uploaded my stuff to github and cloned the repo on my m1 mac. The unity version is the exact same and the render pipelines are set to none (default I guess) on both computers. On my mac the shader appears as pink. I read that this is normally caused by mismatching render pipelines but as far as I know both computers are using the same one. Does the mac version of unity use a different default render pipeline than windows?

Okay I just found out (of course right when I posted this) it’s because Mac’s don’t support Shader Model 4.0 which is required by this specific shader. Sounds like a problem specific to me but it might help someone in the future.

1 Like