# LookupArtifacts

> Returns ImportResultID s corresponding to multiple Import operations.

## Definition

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

## LookupArtifacts(NativeArray\<GUID>, NativeArray\<ImportResultID>, Type)

Returns [ImportResultID](/engine/6000.6/script-reference/unityeditor/experimental/importresultid.md)s corresponding to multiple Import operations.

```csharp
public static void LookupArtifacts(NativeArray<GUID> guids, NativeArray<ImportResultID> hashes, Type importerType)
```

### Parameters

**** (\[NativeArray\<GUID>]\(/engine/6000.6/script-reference/unity/collections/nativearray1)): Array of GUIDs of Assets to look up.**** (\[NativeArray\<ImportResultID>]\(/engine/6000.6/script-reference/unity/collections/nativearray1)): Array of [ImportResultID](/engine/6000.6/script-reference/unityeditor/experimental/importresultid.md)s representing artifacts produced from `guids`.**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): Type of the importer class used to produce the artifacts from `guids`.

### Remarks

Invalid \[\[ImportResultID]s are returned in the following circumstances:

1. The corresponding `guids` entry is invalid or unknown.
2. `importerType` is invalid.
3. The Import process has not produced a result for the corresponding Asset and Importer type at this time. An async Produce operation may still be in progress for this Asset and Importer type.

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

## LookupArtifacts(NativeArray\<GUID>, NativeArray\<ImportResultID>)

Returns [ImportResultID](/engine/6000.6/script-reference/unityeditor/experimental/importresultid.md)s corresponding to multiple Import operations.

```csharp
public static void LookupArtifacts(NativeArray<GUID> guids, NativeArray<ImportResultID> hashesOut)
```

### Parameters

**** (\[NativeArray\<GUID>]\(/engine/6000.6/script-reference/unity/collections/nativearray1)): Array of GUIDs of Assets to look up.**** (\[NativeArray\<ImportResultID>]\(/engine/6000.6/script-reference/unity/collections/nativearray1)): Array of [ImportResultID](/engine/6000.6/script-reference/unityeditor/experimental/importresultid.md)s representing artifacts produced from `guids`.

### Remarks

Invalid \[\[ImportResultID]s are returned in the following circumstances:

1. The corresponding `guids` entry is invalid or unknown.
2. `importerType` is invalid.
3. The Import process has not produced a result for the corresponding Asset and Importer type at this time. An async Produce operation may still be in progress for this Asset and Importer type.

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