Very very lag while saving

fps drop to 12 from 50+
6:13 am, January 2, 2023
Johnathn 0 comments 0 likes

Jaunitta 🌸 replied to Very very lag while saving March 6, 2021 @ 12:06:58 am PST

Its the cloud syncing with the game BS auto saves even though it was great to get them. I disabled it and zip my game's charactors and World after each play,'
Just logg off to create a new save
6:13 am, January 2, 2023
0 comments 0 likes

C4pM replied to Very very lag while saving March 6, 2021 @ 12:08:31 am PST

My game is only 20 odd hours in - so barely noticeable (a micro stutter). Can see it could get worse in a very large settlement, but with the game being so small, have you tried moving it to an SSD (assuming it's installed on HDD)? Maybe that could help?
6:13 am, January 2, 2023
0 comments 0 likes

Jᴧgᴧ replied to Very very lag while saving March 6, 2021 @ 12:12:38 am PST

Originally posted by C4pM:
My game is only 20 odd hours in - so barely noticeable (a micro stutter). Can see it could get worse in a very large settlement, but with the game being so small, have you tried moving it to an SSD (assuming it's installed on HDD)? Maybe that could help?
Both my game and the save files are installed to a drive that's literally as fast as a RAM drive. After ~200 hours of playing (mostly normal stuff, exploring, a little building), saving is taking >2.5 seconds on it now. I think it outputs the -entire- world every time it saves, instead of just changed areas. Definitely room for improvement, but even the fastest drive known to mankind won't change it once you get deep into a game. Even a dedicated server has to save regularly, so while players connected don't see it, it's pausing for a good chunk of time behind the scenes.
6:13 am, January 2, 2023
0 comments 0 likes

C4pM replied to Very very lag while saving March 6, 2021 @ 12:16:01 am PST

Originally posted by Jᴧgᴧ:
Originally posted by C4pM:
My game is only 20 odd hours in - so barely noticeable (a micro stutter). Can see it could get worse in a very large settlement, but with the game being so small, have you tried moving it to an SSD (assuming it's installed on HDD)? Maybe that could help?
Both my game and the save files are installed to a drive that's literally as fast as a RAM drive. After ~200 hours of playing (mostly normal stuff, exploring, a little building), saving is taking >2.5 seconds on it now. I think it outputs the -entire- world every time it saves, instead of just changed areas. Definitely room for improvement, but even the fastest drive known to mankind won't change it once you get deep into a game. Even a dedicated server has to save regularly, so while players connected don't see it, it's pausing for a good chunk of time behind the scenes.

Ah - ok. Does sound like it's something the devs could address in a future update then. Does seem a little unoptimised to save the whole world every time, rather than a sequential save.
6:13 am, January 2, 2023
0 comments 0 likes

Alatarius replied to Very very lag while saving January 1, 2023 @ 8:42:10 pm PST

Originally posted by Wariat117:
You can disable auto-save, go to file
\Steam\steamapps\common\Valheim\valheim_Data\Managed\assembly_valheim.dll

Class: public class Game : MonoBehaviour
Method: private void UpdateSaving(float dt)

Just remove everything that is inside of this method and it won't autosave anymore


I'm not understanding any of this. Do I delete the specific DLL file or everything in the folder?
6:13 am, January 2, 2023
0 comments 0 likes

avatar.zero replied to Very very lag while saving January 1, 2023 @ 9:38:28 pm PST

Originally posted by Alatarius:
Originally posted by Wariat117:
You can disable auto-save, go to file
\Steam\steamapps\common\Valheim\valheim_Data\Managed\assembly_valheim.dll

Class: public class Game : MonoBehaviour
Method: private void UpdateSaving(float dt)

Just remove everything that is inside of this method and it won't autosave anymore


I'm not understanding any of this. Do I delete the specific DLL file or everything in the folder?

They're assuming that everyone is a programmer with access to a disassembler. The instructions they gave are for removing a specific function from that .dll code library. Do not attempt code alteration if you're not a qualified programmer with full familiarity of the codebase for the program you're altering.
6:13 am, January 2, 2023
0 comments 0 likes

Honorable_D replied to Very very lag while saving January 1, 2023 @ 10:02:48 pm PST

I get like 2-3 seconds of massive lurches—good thing the games warns you autosave is coming lol
6:13 am, January 2, 2023
0 comments 0 likes

Neyreyan_Youtube replied to Very very lag while saving March 5, 2021 @ 11:53:18 pm PST

Yes, thats what most of us are experiencing and its geting worse for my 120 hours game. The autosave happens every 20min so its noticeable
6:13 am, January 2, 2023
0 comments 0 likes

Wariat117 replied to Very very lag while saving March 5, 2021 @ 11:57:25 pm PST

You can disable auto-save, go to file
\Steam\steamapps\common\Valheim\valheim_Data\Managed\assembly_valheim.dll

Class: public class Game : MonoBehaviour
Method: private void UpdateSaving(float dt)

Just remove everything that is inside of this method and it won't autosave anymore
6:13 am, January 2, 2023
0 comments 0 likes