# relatedInstanceId

> Related instance ID of Unity Object.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Profiling](/engine/6000.7/script-reference/unityeditor/profiling.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Removed.** relatedInstanceId is obsolete. Use relatedEntityId instead.

```csharp
public int relatedInstanceId { get; }
```

### Remarks

Graphics resource might be related to the specific Unity Object such as Texture2D, RenderTexture. If *relatedInstanceId* isn't zero use GetUnityObjectInfo to obtain further information about Unity Object.
