We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class ScriptedImporterAssetReimporter

    Unity has a strange bug when it tries to import a DLL with a ScriptedImporter and an asset that importer is targeting. The first time, it will not invoke the ScriptedImporter as it's just being imported itself; the second time the ScriptedImporter will be constructed but Unity thinks it fails. The third time, the import will succeed. This class will invoke the third time import for .gltf, .glb and .room extensions.

    Inheritance
    Object
    ScriptedImporterAssetReimporter
    Namespace: Microsoft.MixedReality.Toolkit.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public class ScriptedImporterAssetReimporter : AssetPostprocessor

    Methods

    OnPostprocessAllAssets(String[], String[], String[], String[])

    Declaration
    public static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
    Parameters
    Type Name Description
    String[] importedAssets
    String[] deletedAssets
    String[] movedAssets
    String[] movedFromAssetPaths
    In This Article
    Back to top Generated by DocFX