Hi everyone,
I'm currently stucking on something relative to shaders.
In my scene, I'm adding a shader "Unlit/Transparent" (the one Unity is giving through the editor) to one of my cube (it's for a test) thanks to this script :
myCube.renderer.material.shader = Shader.Find("Unlit/Transparent");
myCube.renderer.material.mainTexture = Resources.Load(myImage) as Texture2D;
It works fine in the Unity Editor but when I'm lauching my built-in appplication, I'm having an error : my shader is not found.
I'm guessing it's a build settings problem (my shader is not exported ?).
Is anybody knowing what's going on ?
Any help would be appreciated. Thanks.
Regards.