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.
Vein/Saved/SaveGames/Server.vnsThis 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 see | What you go looking at | What it actually is |
|---|---|---|
| New character on every join | Steam ID, character wipe settings | Your character was never persisted |
| Items vanish out of containers | Utility cabinet upkeep, decay cvars | The container's contents were never written |
| Containers empty world-wide | vein.Scarcity.Difficulty, respawn cvars | The world reloads from nothing every boot |
| Base gone after a restart | Raid protection, build decay | Same — nothing was ever saved |
A VEIN dedicated server keeps exactly one world file. Either it is there and its timestamp moves, or the server has never saved.
| Look at | Healthy | Broken |
|---|---|---|
Vein/Saved/SaveGames/Server.vns | Exists, tens of MB | Missing, or the folder is empty |
| Its modified time, with a player online | Moves every 300 s | Never moves |
| Its size | Grows as the world is played | n/a — no file |
Vein.log does record each save (LogVeinSaveGame: Finished saving.), but the
file is the quickest tell. Watch it.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.
| Build | Binary | Result in our test |
|---|---|---|
| Native Linux | VeinServer.sh → Binaries/Linux/VeinServer-Linux-Test | Never 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.exe | Created 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.
./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.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:
| Running | Config folder it reads |
|---|---|
| Linux build | Vein/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.
WindowsServer/ when you switch. If your
server name reverts to the default after the swap, this is why.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.
.vns file in Vein/Saved/SaveGames/.Server.vns.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.
137. If you see 137, you are killing it every time.Vein/Saved/SaveGames/Server.vns — if it is missing, the world has never been persisted, and no character setting will change that.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.Vein.log does record each save (LogVeinSaveGame: Finished saving.). Quickest proof is still the save file's timestamp and size.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.Everything else we have measured ourselves.