Cheat Engine Scan Error Thread 0 Please Fill Something In 100 Best →

If you get this error from a Lua script:

-- ❌ Wrong:
memrec.OnClick = function()
  startScan()  -- missing parameter
end

-- ✅ Correct for unknown scan: memrec.OnClick = function() startScan(nil, nil, nil, nil, nil, nil, "Unknown initial value") end

-- ✅ Correct for value scan: memrec.OnClick = function() startScan(100, vtAuto, nil, nil, nil, nil, "Exact value") end


Check these:

  • Hex mode enabled

  • Corrupt Cheat Table


  • The "Scan error: thread 0" message in Cheat Engine typically occurs when the software cannot correctly access or interpret the target application's memory. This error is often tied to architectural mismatches or specific scan settings that prevent the scanner threads from executing properly. Common Causes and Solutions Architecture Mismatch (32-bit vs. 64-bit)

    Running a 32-bit version of Cheat Engine (cheatengine-i386.exe) on a 64-bit process often triggers thread errors or "no readable memory found".

    Fix: Ensure you are using the 64-bit executable (cheatengine-x86_64.exe) found in the installation folder. Invalid Value Input

    Entering values that do not match the selected Value Type (e.g., entering text while scanning for 4-byte integers) can cause thread 0 to report an "invalid value" error.

    Fix: Double-check that your input matches the expected format (Hex, Decimal, Float, etc.). Processor Affinity Issues

    Sometimes Cheat Engine struggles with multi-core synchronization during a scan. If you get this error from a Lua

    Fix: Open Task Manager, right-click Cheat Engine under the Details tab, select Set affinity, and try restricting it to only one or two CPU cores. Memory Scan Settings

    If the memory region is protected or not marked as "writable," a default scan may fail to find results or error out.

    Fix: Go to Settings -> Scan Settings and ensure MEM_MAPPED is enabled. You can also try unchecking the "Writable" box if you are searching for static code bytes. File Path and Permissions

    Errors during pointer scans often occur if the save path for scan results contains non-ASCII characters (like accented letters) or if the program lacks permission to write to that folder.

    Fix: Save scan results to a simple path like C:\CE_Scans\ and run Cheat Engine as an Administrator. Troubleshooting "0 Results" After a Scan

    If the scan completes without an error but returns 0 results, consider these adjustments: Check these:

    Value Type: Change the Value Type from "4 Bytes" to "All" to catch values stored as Doubles or Floats.

    Scan Type: Use "Unknown initial value" and subsequent "Increased/Decreased value" scans for encrypted or obfuscated values that don't match the on-screen number.

    Big Endian: If using an emulator like ZSNES, you may need to use Big Endian value types.

    Are you seeing this error with a specific game or while following a particular tutorial? View topic - Scan Error - Cheat Engine Forum

    Note: Cheat Engine is intended for legal uses like game modding, debugging your own software, or memory analysis. Only use it on programs you own or have permission to modify.


    | Symptom | Solution | |---------|----------| | Blank value → Error | Fill value or use Unknown scan type | | Valid value → Still error | Check Value Type & Hex mode | | Only happens in one game | Game has anti-debug / anti-cheat | | Happens in all processes | Reinstall CE / reset settings | Hex mode enabled