AcademyFixing Unreal Engine "0xFF Not Valid JSON" Plugin Error
TutorialIntermediate

Fixing Unreal Engine "0xFF Not Valid JSON" Plugin Error

Solve the JsonReaderException '0xFF' invalid start of a value error when generating Unreal Engine project files.

November 1, 2024
Cyrus 365
1 min read
Unreal EngineTroubleshootingPlugins

📌 Overview

When generating project files in Unreal Engine, you may encounter an error like:

text
JsonReaderException: '0xFF' is an invalid start of a value.
LineNumber: 0 | BytePositionInLine: 0.

This error typically points to a plugin descriptor file (.uplugin) that UnrealBuildTool cannot parse as valid JSON.

🔎 What Causes It

1

Incorrect file encoding (UTF-16 with BOM instead of UTF-8)

2

File corruption or binary data at the start of the file

3

Editing the .uplugin file with a non-standard text editor

4

Copy-paste errors that introduce invisible characters

✅ How to Solve

1

Locate the problematic .uplugin file

2

Open it in a proper text editor (VS Code, Notepad++)

3

Verify the file starts with { (not invisible characters)

4

Save with UTF-8 encoding (no BOM)

5

Regenerate project files

json
{
  // Your plugin configuration
}

💡 Tips

1

Always use UTF-8 encoding for .uplugin and .uproject files

2

Avoid editing with Windows Notepad (use VS Code instead)

3

Run UnrealBuildTool with -verbose to see which plugin fails