# GetObject(ulong)

> Used to access objects within the ContentFile by local file identifier.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Loading](/engine/6000.7/script-reference/unity/loading.md)
* **Assembly:** UnityEngine.ContentLoadModule

```csharp
public Object GetObject(ulong localIdentifierInFile)
```

### Parameters

**** (\[ulong]\(https\://learn.microsoft.com/dotnet/api/system.uint64)): The local file identifier.

### Returns

| Type                                                            | Description                                                                                             |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| [Object](/engine/6000.7/script-reference/unityengine/object.md) | The loaded Object from the [ContentFile](/engine/6000.7/script-reference/unity/loading/contentfile.md). |

### Remarks

This method will raise an exception if when called [ContentFile.LoadingStatus](/engine/6000.7/script-reference/unity/loading/contentfile/loadingstatus.md) is not [LoadingStatus.Completed](/engine/6000.7/script-reference/unity/loading/loadingstatus/completed.md).
