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.
31 Oct 2024Cyrus 3651 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
- 1Incorrect file encoding (UTF-16 with BOM instead of UTF-8)
- 2File corruption or binary data at the start of the file
- 3Editing the .uplugin file with a non-standard text editor
- 4Copy-paste errors that introduce invisible characters
β How to Solve
- 1Locate the problematic .uplugin file
- 2Open it in a proper text editor (VS Code, Notepad++)
- 3Verify the file starts with { (not invisible characters)
- 4Save with UTF-8 encoding (no BOM)
- 5Regenerate project files
json
{
// Your plugin configuration
}π‘ Tips
- 1Always use UTF-8 encoding for .uplugin and .uproject files
- 2Avoid editing with Windows Notepad (use VS Code instead)
- 3Run UnrealBuildTool with -verbose to see which plugin fails