Can I set a Dummy Material for using Import Model Settings?

Hi,

Im having problems with Skinned Mesh, they are all compiling Default Materials and Shaders on mobile.

The only solution I found for this problem is to assign a Dummy Material with a Dummy Shader on my FBX Materials import settings.

The problem is that I want to make it by code.

 var importer = AssetImporter.GetAtPath(asset) as ModelImporter;
            var save     = false;

importer.importMaterials = true;
importer.materialLocation = ModelImporterMaterialLocation.InPrefab;

Is there a code to select the material to use?

Regards

I could change the Shader but not the material.

Nobody care about compile standard shader and creating empty materials on mobile?

Is awful if you are using asset bundle/