# GetDefaultShaderChunkCount()

> Gets the default limit on the number of shader variant chunks Unity loads and keeps in memory.

## Definition

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

```csharp
public static int GetDefaultShaderChunkCount()
```

### Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### Remarks

Additional Resources: [PlayerSettings.SetDefaultShaderChunkCount](/engine/6000.7/script-reference/unityeditor/playersettings/setdefaultshaderchunkcount.md).
