SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedQuality of life & UI

InventoryDoubleUpdateFix

by SiiMeR · for Vintage Story

Fixes the HandleInventoryDoubleUpdate crashing game

4.7KDownloads
1.20.10Latest game version
Vintage Story ModDBSource

About InventoryDoubleUpdateFix

From Vintage Story ModDB

Fixes the HandleInventoryDoubleUpdate crashing game

There is an exception going around in our server that crashes the game for almost all players when it happens

It reads something like this:

System.NullReferenceException: Object reference not set to an instance of an object. at Vintagestory.Common.InventoryNetworkUtil.UpdateSlotStack(ItemSlot slot, ItemStack newStack) in VintagestoryLib\Common\GameContent\Inventory\InventoryNetworkUtil.cs:line 493 at Vintagestory.Client.NoObf.GeneralPacketHandler.HandleInventoryDoubleUpdate(Packet_Server packet) in VintagestoryLib\Client\Systems\GeneralPacketHandler.cs:line 385 at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 786 at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 161 at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 695 at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 670 at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 88 at OpenTK.Windowing.Desktop.GameWindow.Run()

It has something to do with swapping items in your inventory (I suspect it might be Art of Growing that causes this), but I am unable to pinpoint the exact issue. So I have decided to create a small patch that consumes the exception and logs info about the error into the client logs. 

Is swallowing exceptions a good idea? Not at all. But it is a lot better than half the server crashing a few times every day.

Highlights

From source data

Game versions

Supports 5 Vintage Story versions, the newest being 1.20.10.

Footprint

Rated a light load on a server.

InventoryDoubleUpdateFix on Nxeon

From our catalogue
One-click install
Supported on Nxeon Vintage Story servers. We download it from Vintage Story ModDB, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Vintage Story — 1 GB (1 GB RAM). This follows our own load rating above, not a benchmark.

Run InventoryDoubleUpdateFix on a Vintage Story server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Vintage Story ModDB as “Tweak”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Runs on your server

From source side support

Vintage Story ModDB lists InventoryDoubleUpdateFix as required on the server. Check its Vintage Story ModDB page to see whether players need it too.

Compatibility

Game
Vintage Story
Runs on
Serverrequired on the server
Game versions
1.20.10 and 4 earlier

Verified at the source

  • ✓Vintage Story ModDBOfficial listing, checked 2026-09-24
  • ✓AuthorSiiMeR, as published on Vintage Story ModDB
  • ✓LicenseNot published by the sourceFree

InventoryDoubleUpdateFix, answered

Generated from the mod’s own source data.

Do my players need to install InventoryDoubleUpdateFix?

Vintage Story ModDB lists InventoryDoubleUpdateFix as required on the server. Check its Vintage Story ModDB page to see whether players need it too.

Is it free?

Yes. InventoryDoubleUpdateFix is free to download from Vintage Story ModDB.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run InventoryDoubleUpdateFix on a Vintage Story server.

Deploy in about a minute from $4.00 a month, then add InventoryDoubleUpdateFix in one click.