---
title: UnloadFontFace()
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/unloadfontface
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/lowlevel/fontengine/unloadfontface.md
last_updated: 2026-10-07
generated_at: 2026-11-11T21:36:00.264Z
locale: en-us
---

# UnloadFontFace()

> Unloads current font face and removes it 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 UnloadFontFace()
```

### Returns

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