Skip to main content

Mod Error Codes (EB1ModError)

This document summarizes the error codes and their causes when mod inspection (compatibility check) fails.

Definition location

Source/BlueModManager/ModSystem/B1Mod.h

Fatal error

When a Fatal error (ConfigError) occurs, the mod is blocked from Manifest saving and activation.


1.Error code list

CodeDisplay nameFatal
ConfigErrorConfig ErrorFatal
PakFileNotFound(No popup)
UcasFileNotFound(No popup)
UtocFileNotFound(No popup)
PakMountError(No popup)
PakUnMountError(No popup)
DataPatchErrorData Error
ShaderCompatibilityErrorShader Compatibility Error
AssetCompatibilityErrorAsset Compatibility Error
LuaScriptErrorLua Script Error
OldModKitVersionOld ModKit Version

2.Detailed descriptions

ConfigError

Cause: The mod's base configuration file cannot be loaded.

TriggerDetails
mod_manifest.json load/parse failureManifest file is corrupted or does not exist
Mod name and project name mismatchName in manifest differs from .uplugin file name
.uplugin file load/parse failurePlugin descriptor is corrupted or does not exist

PakFileNotFound / UcasFileNotFound / UtocFileNotFound

Cause: Mod package file structure validation failed.

ErrorDetails
PakFileNotFound.pak file does not exist
UcasFileNotFound.ucas file does not exist
UtocFileNotFound.utoc file does not exist

PakMountError / PakUnMountError

Cause: Pak file mount/unmount runtime failure.

ErrorDetails
PakMountErrorFPakPlatformFile::Mount() call failed — pak file is corrupted or locked by another process
PakUnMountErrorFPakPlatformFile::Unmount() call failed — already unmounted or references remain

DataPatchError

Cause: An error occurred while processing the mod's JSON data patch.

ScenarioDetails
Source JSON not foundCannot find the original data (StructTag-based) to patch
Named source JSON not foundCannot find the specified named data source
Invalid JSON valuePatch descriptor contains an invalid JSON value
Patch descriptor load failureFailed to load FModPatchDescriptor
Patch application errorPatch commands (Add/Remove/Replace, etc.) failed to apply to target data
Patch result deserialization failureFailed to convert patched JSON to struct

ShaderCompatibilityError

Cause: Shaders included in the mod are incompatible with the current game build.


AssetCompatibilityError

Cause: Mod assets are incompatible with the current game build.

ScenarioDetails
Asset Hash JSON missingContains MPC assets but hash file is missing
MPC GUID mismatchMaterialParameterCollection StateId differs from the game
MPC path invalid/load failureAsset hash JSON contains an invalid MPC path
Material structure hash mismatchMaterial parameter structure has changed (e.g. game update)
Material path invalid/load failureMaterial asset does not exist
MFI hash mismatchMaterialFunctionInstance structure has changed
MFI path invalid/load failureMFI asset does not exist
DA exists as pak assetDataAsset is packaged as a pak asset instead of JSON
AnimMontage Notify class load failureNotify class referenced by montage does not exist
AnimMontage Notify property mismatchNotify class properties differ from the game (added/removed)

LuaScriptError

Cause: Lua script validation failed for the mod.

ScenarioDetails
.lua/.luapak mixed usageBoth formats used simultaneously in one mod
Static analysis (luacheck) execution failureError occurred while running the analysis tool
Analysis result file missingAnalysis output file was not generated
Analysis result parse failureOutput JSON file has an invalid format
Lua diagnostic error detectedStatic analysis found error-level diagnostic results

- OldModKitVersion

Cause: The mod was built with an outdated ModKit version.

ScenarioDetails
ModKit changelist below minimumThe second digit (changelist) of the mod version is below the minimum requirement (11246)
note

This check only applies to UE 5.6+ builds.


3.Mod states (EB1ModState)

StateDescription
ActiveActivated and applied to the game
InspectingCompatibility check in progress
UnreachableMod directory is inaccessible
BrokenStructure is corrupted
RuntimeErrorDeactivated due to inspection failure
AddedInGameMod added in-game