Return to site

Unity extracting assets

broken image
broken image

You’re going to have to work around that fact. Var error = AssetDatabase.ExtractAsset(material, newAssetPath) ĪssetDatabase.WriteImportSettingsIfDirty(path) ĪssetDatabase.ImportAsset(path, ImportAssetOptions.ForceUpdate) įirst you should know that Unity’s regular model pipeline is part of the editor, so it's not included in your runtime. Source: public class ExtractMaterials : MonoBehaviour ) + '.mat' Examples Extract textures and materials from FBX at run-time Keywords: Unity, Assets Loading, Resouces Extracting Docs

broken image