Parameter | Description |
---|---|
artifactKey | ArtifactKey specifying what artifact to produce with which importer class. |
ImportResultID
Unique identifier for the artifact produced from the specified artifactKey
.
Imports an Asset using an Importer type or returns a matching cached result.
Reuses an existing cached import result if one exists for artifactKey
.
This method returns an invalid ImportResultID in the following curcumstances:
artifactKey
contains an invalid Asset reference, or an invalid Importer type.Use AssetDatabaseExperimental.ForceProduceArtifact where it is not appropriate to use a cached result.