# GlobalObjectIdentifiersToEntityIdsSlow(GlobalObjectId[], EntityId[])

> Creates an array of instance IDs based on an array of unique object identifiers.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static void GlobalObjectIdentifiersToEntityIdsSlow(GlobalObjectId[] identifiers, EntityId[] outputEntityIds)
```

### Parameters

**** (\[GlobalObjectId\[]]\(/engine/6000.3/script-reference/unityeditor/globalobjectid)): Array of GlobalObjectIds to convert to EntityIds.**** (\[EntityId\[]]\(/engine/6000.3/script-reference/unityengine/entityid)): Array of `EntityId` objects to write to.

### Remarks

For each item in `identifiers`, this method obtains its `EntityId` and writes it to the corresponding element in `outputEntityIds`. Both arrays must be the same size.

Any `GlobalObjectIds` in the `identifiers` array that can't be resolved are given a value of `0` in the output `EntityId` array.

This method is slow. Use it sparingly. If you use this method in a large project within other performance-sensitive contexts such as [ISerializationCallbackReceiver.OnBeforeSerialize](/engine/6000.3/script-reference/unityengine/iserializationcallbackreceiver/onbeforeserialize.md) or [ISerializationCallbackReceiver.OnAfterDeserialize](/engine/6000.3/script-reference/unityengine/iserializationcallbackreceiver/onafterdeserialize.md), it's strongly recommended to profile the performance impact.

Additional Resources: [GlobalObjectId.GlobalObjectIdentifierToEntityIdSlow](/engine/6000.3/script-reference/unityeditor/globalobjectid/globalobjectidentifiertoentityidslow.md)
