---
title: UnloadAllFontFaces()
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/unityengine/textcore/lowlevel/fontengine/unloadallfontfaces
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/lowlevel/fontengine/unloadallfontfaces.md
last_updated: 2026-10-07
generated_at: 2026-11-11T15:46:07.683Z
locale: en-us
---

# UnloadAllFontFaces()

> Unloads all currently loaded font faces and removes them from the cache.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.TextCore.LowLevel](/engine/7000.0/script-reference/unityengine/textcore/lowlevel.md)
* **Assembly:** UnityEngine.TextCoreFontEngineModule

```csharp
public static FontEngineError UnloadAllFontFaces()
```

### Returns

| Type                                                                                                | Description                                                                                  |
| --------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| [FontEngineError](/engine/7000.0/script-reference/unityengine/textcore/lowlevel/fontengineerror.md) | A value of zero (0) if the font faces were successfully unloaded and removed from the cache. |
