Home/ Guides/ VEIN/ VEIN Dedicated Server Not Saving
💾 VEIN · Server admin

VEIN dedicated server not saving — what fixed ours

If your VEIN server hands every player a new character on every join, empties containers and forgets your base after a restart, it is not a loot setting. The server has never written its save. On our servers the native Linux build never wrote one, and the game's Windows build, under Wine, created its world and autosaved on its own with no config change at all. The likely reason is boring: the Linux build saves inside its own install folder, and ours was read-only. Make sure yours is writable by the account running the server, and if it still won't save, switch builds.

Measured 4 September 2026 on our own servers: same host, same container, same game build, only the executable swapped.
Quick facts
  • Save fileVein/Saved/SaveGames/Server.vns
  • Worlds keptExactly one
  • Autosave300 s, players online only
  • Linux buildNever saved on ours (read-only install)
  • Windows buildCreated + autosaved
🩺

The symptoms do not look like a save problem

This is why it costs people days. A server that never saves does not announce it — it presents as four unrelated bugs, and every one of them sends you somewhere else.

What you seeWhat you go looking atWhat it actually is
New character on every joinSteam ID, character wipe settingsYour character was never persisted
Items vanish out of containersUtility cabinet upkeep, decay cvarsThe container's contents were never written
Containers empty world-widevein.Scarcity.Difficulty, respawn cvarsThe world reloads from nothing every boot
Base gone after a restartRaid protection, build decaySame — nothing was ever saved
If more than one of these is happening at once, stop tuning loot settings. One fault produces all four, and it is this one.
🔍

Check it in ten seconds

A VEIN dedicated server keeps exactly one world file. Either it is there and its timestamp moves, or the server has never saved.

Look atHealthyBroken
Vein/Saved/SaveGames/Server.vnsExists, tens of MBMissing, or the folder is empty
Its modified time, with a player onlineMoves every 300 sNever moves
Its sizeGrows as the world is playedn/a — no file
Do not judge this by the console. It shows the world loading and little else, and the "Autosaving…" message you have seen belongs to the client HUD, so a quiet console looks the same on a healthy server and a broken one. The game's own Vein.log does record each save (LogVeinSaveGame: Finished saving.), but the file is the quickest tell. Watch it.
🛠️

The fix: run the Windows server build

VEIN ships both a Linux and a Windows dedicated server. On our servers only the Windows one saved. On a Linux host, run it under Wine — that is a normal, boring thing to do, and several other survival games are hosted that way already.

BuildBinaryResult in our test
Native LinuxVeinServer.sh → Binaries/Linux/VeinServer-Linux-TestNever created a world. No autosave in a full day. Its save folder sits inside the install, and ours was read-only.
Windows (under Wine)Binaries/Win64/VeinServer-Win64-Test.exeCreated its own 25 MB Server.vns minutes after a player joined, then rewrote it every 300 s.

Same machine, same container, same game build 25035268, same config. What differed is where each build writes. The Linux build resolves its save folder inside the install (Vein/Saved/SaveGames beside Binaries), which on our servers was read-only; the Windows build under Wine writes through its own user profile and never noticed. We didn't re-run the Linux build with a writable install, so that half is our best read, not a measurement. If your install is writable and the Linux build still won't save, the Windows build is the fix we have actually watched work.

If you host on a panel: the Pterodactyl egg the community copies runs ./VeinServer.sh, the Linux launcher, from a writable install folder. That is the one setup we haven't tested, so check its save file before trusting it.
⚠️

The trap that comes with the fix

Switch builds and your config stops being read, silently. This one cost us a second afternoon after the save was already fixed.

Unreal names the config directory after the binary's platform, not the host's. Run the Windows build and the game reads:

RunningConfig folder it reads
Linux buildVein/Saved/Config/LinuxServer/
Windows build (including under Wine)Vein/Saved/Config/WindowsServer/

A Game.ini or Engine.ini left in the wrong one is not an error and not a warning. It simply sits there unread, and the server runs on defaults — no server name, no admins, no player cap, none of your gameplay cvars — while looking completely healthy.

Move both files to WindowsServer/ when you switch. If your server name reverts to the default after the swap, this is why.
📤

Uploading an existing world

Whether you are moving a single-player world up or restoring a backup, the rule is the same and it is unforgiving about one thing.

  1. Stop the server. Do not do this while it is running — the game holds the world in memory and will overwrite you on the way out.
  2. Put the .vns file in Vein/Saved/SaveGames/.
  3. Rename it to exactly Server.vns.
  4. Start the server.
Step 3 is the whole thing. A dedicated server loads one world under one name. Any other filename is ignored without complaint and the server generates a fresh world instead — which looks exactly like "my upload did nothing".
🛑

Stop the server properly or lose five minutes

Worth knowing once the saving works, because it is the next way to lose progress.

Under Wine, the game is not the container's main process — Wine's launcher is, and it forwards nothing. A plain stop signals the launcher, the game never learns it is shutting down, the grace period runs out and it is killed outright. Since autosave only runs every 300 seconds, every stop can silently discard up to five minutes of play.

The fix is to send the interrupt to the game's own process rather than the launcher. Wine turns that into a real Windows Ctrl+C event, which is the shutdown path the server actually implements: ours then exits cleanly in about two seconds instead of being killed.

Quick test on your own host: stop the server and check the exit code. A graceful shutdown is not 137. If you see 137, you are killing it every time.

VEIN server saving FAQ

Why does VEIN give me a new character every time I join my server?
Because the server has never written a save. Your character only exists in memory, so every join starts over. Check for Vein/Saved/SaveGames/Server.vns — if it is missing, the world has never been persisted, and no character setting will change that.
Where is the VEIN dedicated server save file?
Vein/Saved/SaveGames/Server.vns, relative to the folder passed as -UserDir. A dedicated server keeps exactly one world file and it must carry that exact name.
Does the server log tell me when it saves?
Not on the console, and that is the misleading part. The console shows the world loading and little else, and the "Autosaving…" notification is drawn by the client HUD. The game's own Vein.log does record each save (LogVeinSaveGame: Finished saving.). Quickest proof is still the save file's timestamp and size.
Does a VEIN server autosave with nobody online?
In our testing, no. Writes landed on the 300-second interval while a player was connected and stopped while the server sat empty. So an empty server showing no new save is normal, and not a symptom.
Can I just seed a save instead of switching builds?
Seeding a Server.vns gets a world to load, which is why the workaround is so widespread. But if the server can't write its save folder, nothing played after that sticks: you are frozen on whatever you uploaded. Fix the write instead, with a writable install folder or the Windows build.
Is running the Windows build under Wine a hack?
No. It is the same executable the developer ships for Windows hosts, running on a compatibility layer that is mature and widely used for game servers. On our servers it was also the only one of the two builds that saved.
My containers are empty but my character does persist. Same problem?
Probably not. If saving works, empty containers are a loot question — the scarcity ladder, respawn cvars, a utility cabinet, or cached container state. That is covered separately in VEIN loot not spawning.