One Texture Not Applying Correctly

Hi there,
Is there any reason why my application to alter a SkinnedMeshRenderer.materials[n].mainTexture = texture, would function properly on all Texture[ ] textures, but one textures[n]?

I have gone over all import settings, they are identical, but for some reason, that I cant see why, a particular texture is not applying itself, at all, when all others do.

Thoughts?

    void createLegs(int rdm)
    {

        //from body
        Texture texture = CharMng.ins.soCharLegs.txArray[rdm];
        smr_legs.materials[1].mainTexture = texture;
        smr_legs.sharedMesh = CharMng.ins.soCharLegs.mhArray[rdm];

    }

Is it really the Texture that is acting different or is it the Shader for that Material?

1 Like