# UnloadAllFontFaces()

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

## Definition

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

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

### Returns

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