---
title: ReferenceCount
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/loading/loadedcontentfileinfo/referencecount
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/loading/loadedcontentfileinfo/referencecount.md
last_updated: 2026-11-07
generated_at: 2026-11-09T19:34:15.503Z
locale: en-us
---

# ReferenceCount

> The number of load requests that hold the file.

## Definition

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

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

### Remarks

Each [Loadable\<T>](/engine/7000.0/script-reference/unity/loading/loadable1.md) that is loaded and not released holds the file of its object, and Unity holds the file of each root asset while the content directory is registered. Files that depend on this file are not counted. [ContentLoadState.Dependencies](/engine/7000.0/script-reference/unity/loading/contentloadstate/dependencies.md) lists the dependencies of each file. A file whose count stays above its [ContentDirectoryLoadInfo.RootAssetReferences](/engine/7000.0/script-reference/unity/loading/contentdirectoryloadinfo/rootassetreferences.md) entry after the content that loaded it is gone is held by a [Loadable\<T>](/engine/7000.0/script-reference/unity/loading/loadable1.md) that was not released.

Additional Resources: [ContentDirectoryLoadInfo.RootAssetReferences](/engine/7000.0/script-reference/unity/loading/contentdirectoryloadinfo/rootassetreferences.md)
