How to fix Valheim's multiplayer lag on dedicated servers

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • When experiencing Valheim dedicated server lag, the fix is to increase the server send limit.
  • Many gamers are complaining of Valheim lagging in multiplayer gameplay.
  • The solution found by players is to download a dnSpy tool and tweak the speed limits.
  • Increasing the speed limits for all clients can smoothen the Valheim multiplayer experience even more.     
valheim dedicated server lag fix

One of the perks of playing Valheim is that it allows for a dedicated server setup, where you can join up to 9 friends for the ultimate multiplayer gameplay.

This increases the players’ chances of surviving the purgatory as well as the chances of them actually entering Valhalla.

Valheim offers all the necessary tools for players to set up their own servers and enjoy this experience together. However, many have complained on forums of server lag, which considerably cuts down on the gaming adrenaline:

I bought mine from a site that I don’t want to mention by name for now, and we have built a medium-sized base. Nothing absolutely huge and massive, and we are now starting to experience MAJOR server-side lag. Chests won’t open, enemies run in place, etc.

The issue arises, experienced players say, because the server is limiting the outbound bytes/seconds to each client.


How do I bypass Valheim dedicated server lag?

valheim increase server speed
  1. Close the hosting server.
  2. Download all the game files from SteamLibrarysteamappscommonValheimvalheim_DataManaged
  3. Download this dnSpy tool.
  4. Open the assembly_valheim.dll file in valheim_Data or valheim_server_Data.
  5. Find ZDOMan inside the assembly.
  6. Find m_dataPerSec, right-click on it, choose Edit class and change the value to something larger. Adding just a 0 might considerably improve speeds.
  7. Click Compile in the lower right of the class editor window.
  8. Go to File and choose Save Module (not CTRL+S).
  9. Restart the server and start playing.
  10. Check if the speeds have improved in the F2 menu.

Players noted that rasing the server send speed limits from 64kb/s to 94kb/s improved things.

Additionally, they also recommend increasing the send limits on the client’s side as well.

It is important, though, to change the server’s limits first, and then attempt a change on the client’s side. Also, the Managed file needs to be downloaded completely.

As noted by the players, this is only a workaround. However, the game developers have taken note of the issues and will most likely work on a stable fix in future releases.

Meanwhile, other tested methods of increasing FPS while playing the game have been confirmed by users so make sure to check them out should you need them.

If you’ve only been scrutinizing the market until now to see how the game behaves, maybe it’s time you got your own copy of Valheim.

Valheim

Valheim

Conquer the lag monster and get back into the exciting and dangerous new world of Valheim.
Check priceVisit website

For any issues, you can share your doubts in the comments below or leave feedback with the game’s community.

More about the topics: Game issues, lagging issue

User forum

1 messages