# LookupArtifact(ArtifactKey)

> Returns an ImportResultID corresponding to an Import operation.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental](/engine/6000.5/script-reference/unityeditor/experimental.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static ImportResultID LookupArtifact(ArtifactKey artifactKey)
```

### Parameters

**** (\[ArtifactKey]\(/engine/6000.5/script-reference/unityeditor/experimental/artifactkey)): ArtifactKey specifying an artifact to look up.

### Returns

| Type                                                                                         | Description                                                             |
| -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [ImportResultID](/engine/6000.5/script-reference/unityeditor/experimental/importresultid.md) | A 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`.

Additional Resources: [AssetDatabaseExperimental.ProduceArtifact](/engine/6000.5/script-reference/unityeditor/experimental/assetdatabaseexperimental/produceartifact.md), [AssetDatabaseExperimental.ProduceArtifactAsync](/engine/6000.5/script-reference/unityeditor/experimental/assetdatabaseexperimental/produceartifactasync.md).
