Apply a 'default' planar UV mapping

Hi,

I have a set of meshes imported from Blender with no UV mapping. II would like Unity to apply a default planar UV mapping on those, instead of displaying meshes with no texture (just a uniform color). I can do that by script, but the texture only shows up at runtime and not in the 3D view. Is there any way to have this mapping made by default in the 3D view?

Look into AssetPostprocessor class. You can apply same logic from your script in OnPostprocessModel - this function is called right after model is imported from file.