Question by
Amphet · Jan 04, 2021 at 11:15 AM ·
importassetpostprocessor
How to apply import settings on model after AssetPostProcessor
Hi, I didn't find any answer on the site, so here it is : I used AssetPostProcessor.OnAssignMaterialModel() to set materials from a specific folder on to the model. So far it works, the only thing that bothers me is that when I import the model the window "Unapplied import settings" pops up. How can I apply automatically the settings in my script ? I've tried AssetDatabase.ImportAsset() with ForceUpdate option and EditorUtility.SetDirty() but it didn't work. Please help :)
Comment
Your answer
Follow this Question
Related Questions
How to import WPF/WinForms to Unity 0 Answers
Importing new 3D models without editor 0 Answers
i cant import VR samples 0 Answers
Weird distortion of a character 0 Answers
Force import of one specific format? 0 Answers