Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LookupArtifact(ArtifactKey)

Returns an ImportResultID corresponding to an Import operation.
Read time 1 minuteLast updated 12 days ago

Definition

public static ImportResultID LookupArtifact(ArtifactKey artifactKey)

Parameters

artifactKey

ArtifactKey specifying an artifact to look up.

Returns

Type

Description

ImportResultIDA unique identifier representing the artifact specified by artifactKey.

Remarks

An invalid [[ImportResultID] is returned in the following circumstances:
  1. artifactKey
    contains an invalid or unknown Asset GUID.
  2. artifactKey
    contains an invalid or unknown Importer type.
  3. artifactKey
    has not produced a result at this time. An async Produce operation may still be in progress for this
    artifactKey
    .