I’m building a game with a custom shader. The problem is that when I build it it doesn’t include the custom shader and all the meshes that use it look purple.
The shader works in the editor though.
Unless Unity finds a link to the shader it will leave it out of the build, so, yes you can force the inclusion of that shader by creating a Material that uses it but you’d be creating a redundant resource so I prefer the two methods above.