# InstanceIDToObjectList(NativeArray<int>, List<Object>)

> Translates an array of instance IDs to a list of Object references.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Removed.** InstanceIDToObjectList is obsolete. Use EntityIdsToObjectList instead.

```csharp
public static void InstanceIDToObjectList(NativeArray<int> instanceIDs, List<Object> objects)
```

### Parameters

**** (\[NativeArray\<int>]\(/engine/6000.7/script-reference/unity/collections/nativearray1)): IDs of [Object](/engine/6000.7/script-reference/unityengine/object.md) instances.**** (\[List\<Object>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): List of resoved object references, **instanceIDs** and **objects** will be of the same length and in the same order, the list will be resized if needed. Missing objects will be null.

### Remarks

This is similar to [Resources.InstanceIDToObject](/engine/6000.7/script-reference/unityengine/resources/instanceidtoobject.md) but resolves several IDs at once.
