You open Valheim, pick your world, and instead of the shoreline you left last night you get a red line of text: "Error loading world file. Check backups!" Months of building feel like they just vanished. In most cases they haven't. The game found a save it couldn't read, stopped before it did any more damage, and left you everything you need to get back in. This guide covers what the error actually means, why it shows up more often on dedicated servers, and how to bring a world back on Valheim 1.0, where the save files no longer look the way older guides describe.
What "Error loading world file" actually means
Valheim stores every world as two parts: a small metadata file (name, seed, world modifiers) and a large database holding everything you built, dropped, tamed and explored. The error appears when the game opens that database and the data stops before it should, or doesn't match what the metadata says it is.
That almost always comes down to one of these:
- A save that never finished. The server crashed, ran out of memory or was killed mid-write, and the file on disk is cut off partway.
- A full disk. The save started, the disk filled up, and the write was truncated.
- A mismatched pair. Someone uploaded the metadata from one world and the database from another, or renamed one file but not the other.
- A world from a newer build being opened by a server that hasn't updated yet.
- A file edited while the server was running. Valheim keeps the world in memory and writes it back on its next save, so a hand edit or an upload into a live server can collide with that write.

Where your world lives on 1.0 (old guides get this wrong)
Most recovery guides online still talk about a .db and .fwl pair. That is the pre-1.0 layout. Valheim 1.0 moved worlds into folders, and both forms are still common on servers today, because the game converts an old world the first time it loads it.
Legacy layout (worlds saved before 1.0), inside worlds_local/:
MyWorld.fwl
MyWorld.db
MyWorld_backup_auto-20261128190000.fwl
MyWorld_backup_auto-20261128190000.db
1.0 layout, a folder per world:
worlds_local/MyWorld/
_main.12.fwl2
_main.12.db2
_main.12.chunks
_main.12.ok
0c_22__1_1.chunk (terrain files)
The number counts up with every committed save. The small .ok file is written last, so a set of _main files without its .ok is a save that never completed. When the game converts a legacy world, it also leaves MyWorld.fwl.old and MyWorld.db.old behind, and on 1.0 the automatic backups are folders too (MyWorld_backup_auto-<timestamp>/), not loose files.
Don't confuse a DevWorld/ folder with yours. That's the game's own built-in test world.

How to recover the world, step by step
1. Stop the server and leave it stopped. Restarting over and over hoping the error clears achieves nothing, and a server that can't find a usable world may simply generate a fresh empty one under the same name.
2. Copy the whole worlds_local folder somewhere safe before touching anything. Every step below is reversible only if you kept the original. On a DoomHosting server, download it from the Files tab or take a backup in the Backups tab first.
3. Restore the newest automatic backup.
- Legacy world: rename the broken
MyWorld.dbandMyWorld.fwl(add-brokento the end), then copy the newestMyWorld_backup_auto-<timestamp>.dband.fwland rename them toMyWorld.dbandMyWorld.fwl. Always use a.dband.fwlwith the same timestamp. - 1.0 world: rename the broken
MyWorld/folder toMyWorld-broken/, then copy the newestMyWorld_backup_auto-<timestamp>/folder and rename the copy toMyWorld/.
4. If there's no usable backup, try the .old files. For a world that was converted to 1.0, MyWorld.db.old and MyWorld.fwl.old are the last legacy save before conversion. Rename them back to .db and .fwl, move the broken 1.0 folder out of the way, and the game will convert the world again on the next boot. You lose whatever was built after the conversion, but you get the world back.
5. Fall back to a panel backup. Valheim's own backups rotate, so after a few autosaves a corrupted state can be the only thing left in them. A full server backup taken from the panel sits outside that rotation, which is exactly why it's worth having.

How to know the fix actually worked
Don't trust an empty folder or a world that "looks" there in the file list. The proof is the server's boot log. Start the server and look for a line like this in the console:
ZNet.LoadWorld: MyWorld (MyWorld), save number 12
If that line appears with no errors after it, the game read the world. Then join and walk around your base before anyone builds anything new.
Two things trip people up here. First, the dedicated server ignores a save typed into the console, so you can't force an immediate save that way. Second, the server only writes to disk on its save interval, which is 1800 seconds by default, so a freshly restored world may not change on disk for up to 30 minutes. That's normal.
How to stop it happening again
- Stop the server cleanly. A clean shutdown runs Valheim's quit routine and writes the world (
World save (5/5) donein the log) in a few seconds. A process that's killed outright skips that, and a world caught mid-write is the classic way this error starts. - Give it RAM headroom. If the console shows
Out of memory: true, the container hit its memory limit and the game was killed, save and all. Big bases and heavy mod lists need more than a fresh world. - Watch your disk. World folders plus rotating backups grow quietly.
- Never edit or upload world files while the server runs. Stop, change, start.
- Keep a backup outside Valheim's own rotation, especially before an update or a mod change.
Most "lost" worlds come back with a backup and five minutes of renaming. If you'd rather not babysit any of this, a dedicated Valheim server from DoomHosting gives you a Worlds tab, one-click backups and a console that shows you exactly what the game is doing. For other startup and connection problems, see our common Valheim server problems and fixes, and if you're moving a rescued world onto a server, follow how to upload a Valheim world save.




