why my unity shaders are looking pink can u give me a solution? I need help i asked unity they didnt give me a reply plz help me.
It’s a common problem when you do something bad.
So here is how you don’t do the bad thing you did because I totally know what it is:
You fix this, that, those, then you go into the fragment function, you delete it, and then re-make it with correct spelling of “fragamount”. Then you change the Vertex function to something that does stuff, until it works. And after that, you go into the surface function, and do that in it:
This that and those
Because your sahder, based on the information I got, is both a vertex sahder and a surface sahder. It’s because of the name “sahder”, because shaders don’t allow both of those types together.
Hope this helps!
Another problem is simply that Unity ends up trying to apply a shader but it is simply miscast, like users above are saying. Basically, it’s a “null” shader. so try doublechecking all of Aviram’s suggestions, or recreating the shaders and dragging them into their appropriate inspector positions.