I’m trying to set the texture parameter in one of the material instances, using the function as follow:
in which created_material instance is the new instance
‘BaseColortTexture’ is the name of the parameter
and found_texture is the texture object, Texture2D class.
After the call, the function return a false value.
What am I doing wrong here?