About InventoryDoubleUpdateFix
From Vintage Story ModDBFixes 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 dataGame 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 catalogQuality of life & UI
Small conveniences, tweaks and interface improvements players notice straight away.
Runs on your server
From source side supportVintage 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












