I’m looking for a way to set default import settings. For example: Every FBX file added to the project, should per default not import materials / animations.
I am aware of the Assetpostprocessor, but these methods are not called just on import, but on any change, only allowing to lock the settings.
In the past I managed to trick it by using the following lines, but this does not work anymore since 2019.3 (I assume it has to do with the new AssetPipeline v2, which seems still to be fully undocumented).
var importer = (TextureImporter)assetImporter;
string name = importer.assetPath.ToLower();
if (File.Exists(AssetDatabase.GetTextMetaFilePathFromAssetPath(name)))
return;
Am I missing something or is this in my opinion crucial piece of usability missing?