# ToObject(ObjectIdentifier)

> Tries to find, load, and return the Object that represents this ObjectIdentifier.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Build.Content](/engine/6000.5/script-reference/unityeditor/build/content.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static Object ToObject(ObjectIdentifier objectId)
```

### Parameters

**** (\[ObjectIdentifier]\(/engine/6000.5/script-reference/unityeditor/build/content/objectidentifier)):&#x20;

### Returns

| Type                                                            | Description |
| --------------------------------------------------------------- | ----------- |
| [Object](/engine/6000.5/script-reference/unityengine/object.md) |             |

### Remarks

Returns null if the Object cannot be found or loaded. This can happen if the asset that contains the Object identified was deleted or the ObjectIdentifier is invalid.
