ScriptedImporterAssetReimporter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class ScriptedImporterAssetReimporter : UnityEditor::AssetPostprocessor
public class ScriptedImporterAssetReimporter : UnityEditor.AssetPostprocessor
type ScriptedImporterAssetReimporter = class
inherit AssetPostprocessor
Public Class ScriptedImporterAssetReimporter
Inherits AssetPostprocessor
- Inheritance
-
UnityEditor.AssetPostprocessorScriptedImporterAssetReimporter
Constructors
ScriptedImporterAssetReimporter() |
Methods
OnPostprocessAllAssets(String[], String[], String[], String[]) |