Unity Version (5.1.1f1)
I’m currently using the Standard Shader when creating Materials dynamically through script at runtime. When apply a texture using the method below, I’m able to see my Diffuse Texture:
SetTexture("_MainTex", myDiffTex);
However, after attempting to apply my next 2 textures, they never get updated in the viewport:
SetTexture("_MetallicGlossMap", mySpecTex);
SetTexture("_BumpMap", myBumpTex);
However, once I go over to the inspector and select the dropdown for the material, everything updates and my changes are reflected in the main view. (I’ve attached images demonstrating this)
Is this a bug in Unity 5?