# GlobalObjectIdentifierToInstanceIDSlow(GlobalObjectId)

> Obtains the instance ID of the object from its unique object identifier.

## Definition

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

```csharp
public static int GlobalObjectIdentifierToInstanceIDSlow(GlobalObjectId id)
```

### Parameters

**** (\[GlobalObjectId]\(/engine/6000.0/script-reference/unityeditor/globalobjectid)): The `GlobalObjectId` to lookup.

### Returns

| Type                                                       | Description                             |
| ---------------------------------------------------------- | --------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Returns the `InstanceID` of the object. |

### Remarks

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.0/script-reference/unityengine/iserializationcallbackreceiver/onbeforeserialize.md) or [ISerializationCallbackReceiver.OnAfterDeserialize](/engine/6000.0/script-reference/unityengine/iserializationcallbackreceiver/onafterdeserialize.md), it's strongly recommended to profile the performance impact.

Additional Resources: [GlobalObjectId.GlobalObjectIdentifiersToInstanceIDsSlow](/engine/6000.0/script-reference/unityeditor/globalobjectid/globalobjectidentifierstoinstanceidsslow.md)
