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