Project Zomboid Error 1: What It Means and How to Read the Log

Project Zomboid Error 1: What It Means and How to Read the Log

Build 42.19 · red Error box · console.txt paths · backup before changes

Error 1 is a count, not a diagnosis. The on-screen red box shows how many exceptions the game has logged so far in the current run. Error 1 means one exception; Error 2 means two. It is not a single official error code with one fixed cause or one fixed fix.

The number on screen almost never tells you what broke. Open console.txt (and, when present, files under Logs/ or logs.zip), find the first real exception or stack trace for that session, and only then disable a mod, verify game files, or change configuration. Do not treat a single popup as harmless by default: one exception can interrupt a save, a transfer, or another critical action even if the game keeps running.

Do not run blanket permission or delete commands first. Avoid chmod -R 755 ~/Zomboid, recursive deletion of the whole user folder, or “clean reinstall” steps that wipe settings before a full backup. Those actions can expose or destroy saves, server configs, options, screenshots, and logs without fixing the real exception.

1. Back up before you change anything

Safest first step: Quit the game and any server cleanly, then copy the entire Zomboid user-data folder. That preserves saves, multiplayer databases, server INI files, Lua options, Workshop caches, screenshots, and logs together.

Windows

  • User data: %UserProfile%\Zomboid\
  • Main log: %UserProfile%\Zomboid\console.txt
  • Log history: %UserProfile%\Zomboid\Logs\
  • Support archive, when present: %UserProfile%\Zomboid\logs.zip
  • Server settings: %UserProfile%\Zomboid\Server\

macOS, Linux, Steam Deck

  • User data (native / most installs): ~/Zomboid/
  • Main log: ~/Zomboid/console.txt
  • Log history: ~/Zomboid/Logs/
  • Support archive, when present: ~/Zomboid/logs.zip
  • Steam Deck Flatpak Steam may instead use a path under ~/.var/app/com.valvesoftware.Steam/ ending in Zomboid/

The default on current Steam client installs is Zomboid under the user home (for example /Users/you/Zomboid on macOS), not a hidden .Zomboid directory. If your files are missing, search for console.txt rather than guessing a Flatpak-only path.

What a “delete Zomboid folder” step can destroy
  • Saves/ — single-player and multiplayer world data
  • Server/ — host/dedicated settings, sandbox, spawn regions, whitelist-related files
  • Lua/ — layout and option files such as layout.ini
  • mods/ and Workshop-related caches when present
  • console.txt, Logs/, logs.zip — the logs you need to fix Error N
  • Screenshots and other local user content

If you ever reinstall, keep a full copy of the folder first. Restore only after you know which file is actually broken.

2. Paste log helper (client-side only)

Inspect a log snippet

This helper never uploads your file. It runs entirely in your browser. Paste a slice of console.txt that includes the first ERROR, Exception, or STACK TRACE from the failed session. Without pasted text, it only lists the backup and log-location steps.

3. Read the first exception, not only “Error 1”

The red box is driven by a general exception counter. A single session can mix script warnings, recipe or map data messages, Lua stack traces, and mod-related failures. Searching only for the word ERROR or for a familiar mod name is not enough: the first full stack trace usually points closer to the root than later cascade lines.

On Windows PowerShell:

Select-String -Path "$env:USERPROFILE\Zomboid\console.txt" -Pattern "STACK TRACE|Exception|ERROR:|Caused by|\.lua:|mod"

On macOS, Linux, or Steam Deck Desktop Mode:

grep -niE "STACK TRACE|Exception|ERROR:|Caused by|\.lua:|mod" ~/Zomboid/console.txt
What you find in the log What it usually means Safe next step
STACK TRACE, Exception, Caused by, a .lua path A real runtime exception. The red box number only counts that this happened; the stack names the failing code path. Keep the full first block. Note every script path, class name, and mod folder or Workshop ID in that block before disabling anything.
A mod folder, Workshop ID, or known mod file appears in the first stack That mod is involved in the failing call stack. It may be the root cause or only a later consumer of a broken dependency. On a backup, disable that one mod or its dependency chain and retest. Do not bulk-delete your whole mod list first.
Mod name appears only in earlier load lines, not in the stack The mod was loaded, but the exception may still be vanilla code, another mod, or a missing asset elsewhere. Do not conclude guilt from presence alone. Prefer the stack’s file path over load-order name mentions.
Recipe, map object, fluid container, translation, or similar data warnings Many of these are missing-asset or data warnings. They can flood the log without explaining a later crash. Note them, but keep searching for the first full stack if gameplay actually broke.
Workshop / version mismatch style messages on multiplayer join Client and server content or branch do not match. The multiplayer UI also warns about cancelled Workshop sync and related wait states. Align Steam branch, game build, Workshop IDs, mod IDs, and load order. Restart after downloads finish. Do not erase player data as a first test.
No exception text, only the on-screen Error N You are looking at the wrong log file, an older session, or a truncated paste. Confirm the file timestamp matches the failed run. Check Logs/ and logs.zip. Reproduce once with a fresh log capture.

4. Controlled retest after you have a first stack

  1. Quit the client and stop any hosted or dedicated server.
  2. Copy the full Zomboid user-data folder.
  3. Save a copy of the current console.txt and, if present, the relevant file from Logs/ or logs.zip.
  4. Change one thing that matches the first stack: one mod, one dependency, one branch setting, or Steam “Verify integrity of game files.”
  5. Reproduce the same action that previously raised the red box.
  6. Compare the new log with the old one. If the first exception changes, fix the new message instead of repeating the old change.

5. Common cause families

Mods often show up in stacks, and many real failures do point into Workshop content. That still does not mean every Error 1 is “a mod problem.” Read the log first, then place the failure into one of these families:

Family Typical log clues What to try only after backup
Mod script or asset failure Stack path under a mod directory; missing texture/model references; nil access after a game update Update or disable the named mod; check its required libraries; retest with that one change
Mod conflict or load-order issue Two mods both patch the same system; error only when both are enabled Binary-search enablement on a copy of the save or a new test world
Mid-save mod add/remove Missing item, vehicle, or map definitions after disabling content still referenced by the save Restore the missing mod if you still have it, or recover from backup; avoid bulk removals mid-run
Vanilla edge case or unstable branch bug Stack only in base game packages; reproducible with mods disabled on the same branch Verify game files; if on Unstable, note the build number and report with logs; consider Stable only if you need reliability
Multiplayer mismatch Workshop/version sync failures; server and client different branches or mod sets Match branch, build, Workshop IDs, and mod IDs; check both client and server logs
Permissions or missing user folder Cannot write saves/logs; path not found; read-only media Fix ownership or write access for the actual user only. Prefer restoring write permission on the specific path, not recursive world-readable modes on the whole tree

6. Platform notes that stay safe

  • Windows: Use Steam or GOG “verify files” for install integrity. Do not delete %UserProfile%\Zomboid to “reset” until the whole folder is copied elsewhere.
  • Linux / macOS: Linux paths are case-sensitive. The default macOS APFS volume is usually case-insensitive, but macOS can also use case-sensitive APFS/HFS+ volumes; on those volumes, a mod with mismatched capitalization can fail even when it works on Windows or default macOS installs.
  • Linux permissions: If the game cannot write, repair ownership for your user on the affected files or directories. Do not broadcast a recursive chmod -R 755 on the entire user-data tree as a default fix.
  • Steam Deck: Start with ~/Zomboid/ in Desktop Mode. Only dig into Flatpak-style Steam paths if that folder is absent. Prefer native Linux versus Proton only as a controlled retest after backup.

7. Multiplayer-specific checks

If every player sees red boxes at the same moment, collect both a client console.txt and the host/dedicated server log. Server-side exceptions do not always mirror client stacks. Before changing world data:

  • Confirm client and server use the same Steam branch and game build.
  • Confirm Workshop IDs, mod IDs, and load order match.
  • Wait for Workshop downloads to finish; cancelled or incomplete sync can leave clients and servers out of step.
  • Test on a temporary server or disposable world when possible, not by deleting the live save.

For join failures that are not the red exception box, use the dedicated guide for multiplayer log-based troubleshooting instead of treating every connection problem as Error 1.

8. What to include when asking for help

  • Exact Project Zomboid build and Steam branch (Stable or Unstable).
  • Operating system and whether this is single player, Host, or dedicated server.
  • The full first stack trace block, not only “Error 1” or “Error 40.”
  • Whether the same action fails with all mods disabled on a separate test world.
  • Enabled Workshop IDs and mod IDs if any.
  • A redacted logs.zip or log snippet after removing usernames, IPs, passwords, tokens, and other private data.

9. Related guides

Bottom line: treat Error N as a signal to open the log, not as a finished diagnosis. Back up the whole user-data folder, capture the first exception, change one matching thing, and retest. That sequence is slower than generic “delete everything” advice, and it is much safer.