Build not applying the shader

In the editor my character looks like this


but when built is looks like this

Could anyone please tell what could cause this(I am using MK toon shader)

My first thought would be that you aren’t including the shader (or the specific variant of the shader) in the build for some reason. If you dynamically set properties on the material at runtime you can end up tricking Unity builder into thinking a variant is not in use.

That said, it seems like the outline is still doing something unless that lighter blue is just baked into the character. Could also be using a fallback shader but that’s unlikely if you’re on the same machine.

Could also be that the shader depends on some data (depth buffer, screen space normals, etc.) which you have enabled in the editor but the settings which are used in the build have them disabled.

Could you please tell me how to include the variant to the build