Skip to main content
warningCrash ReportsAffects: Java Edition

How to Fix Font / Text Rendering Crash

Default font failed to load crashes the game, while a broken font in a resource pack is only logged. How to find the pack or file behind font problems.

Quick Fix

Start the game without resource packs. If text works again, search latest.log for Unable to load font to find the pack with the broken font file.

Error Message

java.lang.IllegalStateException: Default font failed to load

How to Fix

1

Move all resource packs out of the resourcepacks folder, or turn them off in Options, Resource Packs, and start the game.

2

Search latest.log for Unable to load font and Font is not in TTF format, and fix or remove the pack those lines name.

3

Turn packs back on one at a time to find the one that breaks text.

4

If the crash says Default font failed to load, remove mods that change fonts or text rendering, then reinstall the game version.

5

If only some characters are missing, repair the assets download, because the Unifont files come from there.

6

Force Unicode Font is under Language, Font Settings. Turn it off to go back to the normal font.

Common Causes

  • A resource pack has a font definition the game can't read. The log shows Unable to load font with the font, the file and the pack, and the game skips that definition.
  • The game couldn't load its default font at all and stops with IllegalStateException: Default font failed to load. That points to damaged game files or a mod that changes how fonts load.
  • A TrueType font in a pack isn't a real TTF file. The log then reports Font is not in TTF format.
  • A Unicode hex font in a pack has a broken line. The log reports Invalid entry at line, with the line number.
  • The Unifont files are missing. unifont.zip and the other Unifont archives come with the asset download, not with the game jar.

Diagnostic Steps

  1. Start without resource packs.
  2. Search latest.log for font errors.
  3. Remove or fix the pack named in the log.
  4. Turn packs back on one at a time.

FAQ

What is Force Unicode Font?

An option under Language, Font Settings that draws all text with the Unicode font instead of the normal one. It is off by default.

Where do fonts live in a resource pack?

Font definitions are JSON files in assets/<namespace>/font, such as assets/minecraft/font/default.json. The vanilla bitmap images are in assets/minecraft/textures/font.

Does a broken font in a resource pack crash the game?

No. The game logs Unable to load font, skips that file and keeps using the other fonts.

Related Errors

Need More Help?