Mods / Tungsten

Tags:
Utility Optimization Other Tweak
Author:
Zaldaryon
Side:
Server
Created:
Nov 9th 2025 at 12:00 AM
Last modified:
Jul 31st at 8:47 PM
Downloads:
19981
Latest release (for Vintage Story 1.22.5 - 1.22.6, potentially outdated):
Tungsten-1.3.7.zip  1-click install

Server-side only performance optimization mod for Vintage Story. The base game is already very much optimized, this is my attempt to speed up what's possible.

This can also benefit players in a singleplayer world, although much more limited.

This is serverside only - if you want to improve your performance clientside, try OptiTime.

I follow RERO (Release Early, Release Often) philosophy.

 

If you'd like to support my mods and need a server of your own, check out:

Something Unique Hosting

What it does

  • Less lag - 30-40% reduction in garbage collection pauses
  • Better performance - Especially with more players online
  • Lower memory usage - Saves ~15 MB per minute
  • No gameplay changes - Same game, just smoother

Performance gains

  • 5 players: 20-30% improvement
  • 10 players: 30-40% improvement
  • 20+ players: 40-50%+ improvement

The more active your server, the better it works.

What gets optimized

Tungsten currently ships with 27 optimizations:

  • Entity list reuse
  • Block list reuse
  • Get drops list reuse
  • Event manager list reuse
  • Chunk loading optimization
  • Chunk unloading optimization
  • Entity simulation optimization
  • Cooking container optimization
  • Container optimization
  • Grid recipe optimization
  • Propick reading optimization
  • Send player entity deaths optimization
  • Physics manager list optimization
  • Physics manager method list optimization
  • ServerMain LINQ optimization
  • Placeholder optimization (suggestion by tehtelev)
  • Wildcard fastMatch optimization (suggestion by tehtelev)
  • GetEntitiesAround optimization
  • Entity despawn packet optimization
  • RecipeBase LINQ optimization
  • Broadcast LINQ optimization
  • Bulk entity attributes packet optimization
  • ClassRegistry frozen optimization
  • GetPlayersAround optimization
  • GenTerra zero-alloc optimization (new in v1.3.4)
  • GenTerra BitArray optimization (new in v1.3.4)
  • GenTerra native noise optimization (new in v1.3.4)

Commands

All commands require admin privileges:

  • /tungsten - Show status
  • /tungsten stats - Show performance statistics
  • /tungsten stats on/off - Enable/disable detailed monitoring (off by default)
  • /tungsten all on/off - Enable/disable all optimizations
  • /tungsten reload - Reload config from disk
  • /tungsten benchmarkharness on/off - A/B performance comparison sessions
  • /tungsten frameprofiler on/off [thresholdMs] - Slow-tick logging
  • /tungsten <name> on/off - Toggle individual optimization:
    • entitylistreuse - Entity Spawning
    • blocklistreuse - Block Operations
    • getdropslistreuse - Block Breaking
    • eventmanagerlistreuse - Event System
    • chunkloadingoptimization - Chunk Loading
    • chunkunloadingoptimization - Chunk Unloading
    • entitysimulationoptimization - Entity Ticking
    • cookingcontaineroptimization - Cooking
    • containeroptimization - Inventory
    • gridrecipeoptimization - Crafting
    • propickreadingoptimization - Prospecting
    • sendplayerentitydeathsoptimization - Player Deaths
    • physicsmanagerlistoptimization - Physics Tick
    • physicsmanagermethodlistoptimization - Physics Tick
    • servermainlinqoptimization - Player Queries
    • placeholderoptimization - Registry Placeholders
    • wildcardfastmatchoptimization - Wildcard Matching
    • getentitiesaroundoptimization - Entity Queries
    • entitydespawnpacketoptimization - Despawn Packets
    • recipebaselinqoptimization - Recipe LINQ
    • broadcastlinqoptimization - Broadcast LINQ
    • bulkentityattributespacketoptimization - Entity Packets
    • classregistryfrozenoptimization - Registry Compaction
    • getplayersaroundoptimization - Player Queries
    • genterrazeroallocoptimization - WorldGen Alloc
    • genterrabitarrayoptimization - WorldGen BitArray
    • genterranativenoiseoptimization - WorldGen Noise

Note: Most changes require server restart.

Compatibility

Works with almost all mods. Safe with:

  • Content mods (blocks, items, recipes)
  • Gameplay mods
  • World generation mods
  • All client-side mods

Troubleshooting

Server won't start?

  • Check server logs for errors
  • Try /tungsten all off to disable optimizations, then enable one by one
  • Report the issue with logs

Performance worse?

  • Unlikely, but you can disable specific optimizations
  • Use /tungsten stats to monitor

Mod conflicts?

  • Disable the conflicting optimization individually

For detailed usage instructions, see the Wiki.

License

Copyright (c) 2025 Zaldaryon - All Rights Reserved

Tungsten - Making Vintage Story servers run faster, one algorithm at a time. Performance matters.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.3.7 tungsten
1.22.5 - 1.22.6
4800 Jul 31st at 3:57 PM Tungsten-1.3.7.zip 1-click install

Compatibility fixes for Vintage Story 1.22.5

  • Corrected GetPlayersAround, BroadcastLinq, and ChunkLoading optimizers against vanilla 1.22.5 IL
  • Fixed ClassRegistry instance resolution via the static ServerMain field with fallback
  • /tungsten status now reports the actual mod version from modinfo.json
  • Verified full compatibility with Vintage Story 1.22.6
1.3.6 tungsten
1.22.0 - 1.22.3
2929 Jun 19th at 6:53 PM Tungsten-1.3.6.zip 1-click install
  • Bump ChunkLoadingOptimizer ThreadLocal capacity from 200 to 500 entries
  • Bump GetEntitiesAroundOptimizer ThreadLocal capacity from 16 to 200 entries
  • Pre-warm all ThreadLocal instances on server startup to eliminate cold-start allocation burst
  • Expected 10-20% reduction in first-hour overloaded tick duration on fresh starts
1.3.5 tungsten
1.22.0 - 1.22.3
253 Jun 18th at 5:32 PM Tungsten-1.3.5.zip 1-click install
  • Fix: register missing subcommands (/tungsten health, propickreadingoptimization, genterrazeroallocoptimization, genterrabitarrayoptimization).
  • Add help descriptions to utility subcommands (all, stats, reload, diag, health, manifest, benchmarkharness, frameprofiler).
  • Add GenTerra optimizations to /tungsten all toggle.
1.3.4 tungsten
1.22.0 - 1.22.2
1547 May 28th at 10:41 PM Tungsten-1.3.4.zip 1-click install

Changes

  • Fix: Guard SetDllImportResolver against duplicate calls on world reload
  • Fix: Recursion guard for GridRecipeOptimizer, pool aliasing in PhysicsManagerList
  • Feat: GenTerra zero-alloc optimization (ColumnNoise array reuse)
  • Feat: GenTerra BitArray replacement with inline bit manipulation
  • Feat: Patch Conflict Detector for diagnosing Harmony conflicts
  • Feat: Memory Leak Watchdog for runtime monitoring
  • Infra: Native noise library (validated, fallback-safe)

New optimization toggles

  • EnableGenTerraZeroAllocOptimization — reuses ColumnNoise arrays during worldgen
  • EnableGenTerraBitArrayOptimization — replaces BitArray virtual calls with inline bit ops
  • EnableGenTerraNativeNoiseOptimization — native simplex noise (when available)
1.3.3 tungsten
1.22.0 - 1.22.2
494 May 25th at 2:49 PM Tungsten-1.3.3.zip 1-click install

Fixes

  • GridRecipeOptimizer: Added recursion guard to prevent list corruption when MatchesShapeLess is called re-entrantly (fixes pie crafting issues with certain mod combinations)
  • PhysicsManagerListOptimizer: Replaced pool with dedicated ThreadStatic list to prevent data aliasing across physics ticks (fixes potential entity collision inconsistencies)

Other changes since v1.3.2

  • GenTerra zero-alloc and BitArray worldgen optimizations
  • Native SIMD noise library for faster terrain generation
  • Diagnostic modules for all optimization categories
  • Leak watchdog and patch conflict detector
1.3.2 tungsten
1.22.0 - 1.22.2
810 May 16th at 2:54 PM Tungsten-1.3.2.zip 1-click install

New

  • Per-optimization diagnostic system: 24 counter modules proving each optimization works
  • /tungsten diag command with on/off/dump/reset per module
  • Auto-dump every 5 min to server log
  • Zero overhead when disabled

Changed

  • Renamed DepositGeneratorOptimization → PropickReadingOptimization (it patches propick use, not worldgen)
  • Config migration: old field name automatically mapped

Measured impact (singleplayer, 12 min)

  • ~680,000 allocations avoided
  • ~14 MB GC pressure eliminated
  • 100% reuse rate across all active optimizations
  • Top: GetEntitiesAround 566/s, PhysicsManagerList 149/s, ChunkLoading 142/s
1.3.1 tungsten
1.22.0 - 1.22.2
457 May 14th at 2:25 PM Tungsten-1.3.1.zip 1-click install

New Optimizations (4)

  • BroadcastLinqOptimization: eliminates LINQ Any()/All() closure allocations in ServerMain broadcast methods
  • BulkEntityAttributesPacketOptimization: reuses packet wrapper objects via ThreadStatic, eliminates 2 allocs/client/tick
  • ClassRegistryFrozenOptimization: compacts ClassRegistry dictionaries via TrimExcess() after mod loading for better cache locality
  • GetPlayersAroundOptimization: ThreadLocal list reuse in ServerMain.GetPlayersAround

Internal

  • Replaced 7 lock(object) patterns with System.Threading.Lock (.NET 9+)
  • IL signature manifest now validates all 17 patch targets across 1.22.0, 1.22.1, and 1.22.2

Stats

  • Total optimizations: 24 (was 20 in v1.3.0)
  • Supported game versions: 1.22.0 — 1.22.2
1.3.0 tungsten 1711 Apr 26th at 12:18 PM Tungsten-1.3.0.zip 1-click install

What's New

  • 3 new optimizations: GetEntitiesAround list reuse, EntityDespawnPacket single-pass loop, RecipeBase LINQ elimination (20 total)
  • FrameProfiler marks on all prefix-based optimizations for transparency

Improvements

  • Eliminated reflection in EntityDespawnPacket and TungstenProfiler (direct VintagestoryLib reference)

Fixes

  • Fixed memory leaks and stale references (Process handles, FrameProfiler, static fields, PlaceholderOptimization dispose)
  • Fixed critical bugs in new optimizations (null recipe, wrong namespace, recursion guard)
1.2.3 tungsten 364 Apr 23rd at 12:47 PM Tungsten-1.2.3.zip 1-click install
  • Target framework: net8.0 → net10.0
  • Minimum game version: 1.21.5 → 1.22.0
  • GridRecipeOptimizer rewritten for RecipeBase.MatchesShapeLess (moved from GridRecipe in 1.22)
  • WildcardFastMatch now only intercepts @ regex patterns (vanilla 1.22 handles * patterns natively)

Removed

  • SendChunksListReuse — vanilla 1.22 uses FastList<T> with zero-allocation clear
  • RegistryResolveExperimentalOptimization — was 1.21.6-only

 

17 server-side optimizations with full safety/fallback model.

1.2.2 tungsten
1.21.5 - 1.21.6
1355 Mar 4th at 5:51 PM Tungsten-1.2.2.zip 1-click install

Small code pattern changes to bring more stability on running.

1.2.1 tungsten
1.21.5 - 1.21.6
462 Feb 24th at 5:57 PM Tungsten-1.2.1.zip 1-click install
  • ServerMainLinqOptimization now returns the correct runtime array type (IServerPlayer[]) matching vanilla behavior, fixing compatibility with mods that cast AllOnlinePlayers to IServerPlayer[].
1.2.0 tungsten
1.21.5 - 1.21.6
728 Feb 9th at 8:28 PM Tungsten.zip 1-click install

- Added new server optimizations for faster loading and lower overhead in large mod setups.
- Introduced smarter placeholder processing for registry content (faster string resolution).
- Added a new optimized wildcard matcher to reduce expensive pattern-matching work.
- Added an experimental registry resolve path for heavy modpacks, with strict safety guards.
- Added stronger automatic fallback behavior: if something goes wrong, Tungsten safely falls back to vanilla behavior.
- Added runtime circuit-breaker protection to isolate failing optimization paths automatically.
- Added IL signature validation to avoid applying risky patches on incompatible game internals.
- Added benchmark harness support (A/B style) for reproducible performance testing.
- Expanded runtime controls and admin commands for new optimization and safety options.

1.1.1 tungsten
1.21.5 - 1.21.6
540 Feb 1st at 11:00 AM Tungsten.zip 1-click install
  • Fixed ThreadLocal disposal crash in GridRecipeOptimization during crafting updates
1.1.0 tungsten
1.21.5 - 1.21.6
165 Feb 1st at 1:23 AM Tungsten.zip 1-click install
  • Physics Packet List Reuse optimization has been removed
  • Grid Recipe Optimization now properly cleans up on early returns
  • Added safety mechanism to prevent memory leaks in edge cases
  • More robust handling of recipe matching failures
  • Container Optimization trimming confirmed working correctly
  • Verified memory management is functioning as intended
  • Obfuscation disabled by default for better compatibility and debugging
  • Reduced from 17 to 16 active optimizations
  • All optimizations now verified working on live servers
1.0.8 tungsten
1.21.5 - 1.21.6
13 Dec 14th 2025 at 10:42 PM Release Retracted

Retraction Reason:

it breaks configs and the patch to rustbound breaks the mod

Changelog:

I added a Tungsten compatibility hotfix for RustboundMagic’s buff broadcasts. When RustboundMagic is present, Tungsten now patches its buff-send method on the server to avoid the
IPlayer[] -> IServerPlayer[] cast crash and safely sends the buff update to connected server players. If RustboundMagic isn’t installed, nothing changes.

1.0.7 tungsten
1.21.5 - 1.21.6-rc.1
1469 Dec 12th 2025 at 7:53 PM Tungsten-1.0.7.zip 1-click install

- Fixed frame-profiler null crashes and added defensive enable/disable logging.
- Reworked chat command parsing to stop sticky “Usage” spam; /tungsten and subcommands parse cleanly.
- Advanced monitoring interval shortened to 10s; CSV/log writes ensure target directory exists and message reflects the new cadence.

1.0.6 tungsten
1.21.5 - 1.21.6-rc.1
Dec 12th 2025 at 6:04 PM Release Retracted

Retraction Reason:

I did because I couldn't change the file. I'll release a new version. I sent message to Rennorb on discord about it.

Changelog:

Hardened frame-profiler activation to avoid null crashes

1.0.5 tungsten
1.21.5 - 1.21.6-rc.1
271 Dec 9th 2025 at 11:59 PM Tungsten-1.0.5.zip 1-click install
  • Rustbound Magic Compatibility - Fixed crashes when using Rustbound Magic mod (specifically with Riftbloom Tea and other liquid containers). The issue was caused by how Tungsten optimized player arrays and container operations.
  • Player Array Type Fix - Corrected an internal type mismatch that could cause "Unable to cast object" errors when other mods tried to access the player list.
1.0.4 tungsten
1.21.5 - 1.21.6-rc.1
138 Dec 9th 2025 at 8:07 PM Tungsten-1.0.4.zip 1-click install

- New /tungsten frameprofiler [on|off] [thresholdMs] command to enable/disable profiling live and set the slow-tick threshold; status is shown in /tungsten output.

1.0.3 tungsten
1.21.5 - 1.21.6-rc.1
471 Dec 2nd 2025 at 5:48 PM Tungsten-1.0.3.zip 1-click install

Prevents potential API access issues with obfuscated entry points

1.0.2 tungsten 416 Nov 28th 2025 at 1:20 AM Tungsten-1.0.2.zip 1-click install

Fixed ObjectDisposedException crash in ChunkUnloadingOptimizer when chunk thread accessed disposed ThreadLocal instances during server shutdown.

1.0.1 tungsten 247 Nov 27th 2025 at 10:09 AM Tungsten-1.0.1.zip 1-click install
  • Fixed ObjectDisposedException during server shutdown
  • Fixed optimization count display (19/19)
  • Added disposal tracking to ThreadLocalHelper
  • Improved shutdown safety for background threads
1.0.0 tungsten 311 Nov 25th 2025 at 11:15 PM Tungsten-1.0.0.zip 1-click install

Initial release

Disclaimer

By downloading a mod you consent to our Terms of Use.

We tell you this specifically because we want to make sure you are aware that we cannot validate every mod, and you are responsible for any damages you might incur by installing or loading mods.

This prompt will not be shown to you again (for the current browser session) if you proceed.


106 Comments (oldest first | newest first) (threaded | flat)

YangWenLi, Sep 8th at 11:19 AM

Hey I just wanted to thank you for amking all the optimizations have a setting that controls them. This makes compatibility SO MUCH EASIER.

If it were not for this, I'd outright tell people not to use your mods with mine, but thanks to the settings, I can tell them to just disable certain stuff and sleep easy knowing they'll play nice with each other.

Zaldaryon , Sep 10th at 11:35 AM
@YangWenLi: Hey I just wanted to thank you for amking all the optimizations have a setting that controls them. This makes compatibility SO MUCH EASIER. If it were not for this, I'd outright tell people not to use your mods with mine, but thanks to the settings, I can

<3 this mod is to be used with their settings, I know not everything works with every mod but being able to disable some of them make it profitable for players!

Nicodemus, Jul 31st at 1:41 PM

Miracle worker.

Nyco, Jul 5th at 11:52 AM

after some testing seems that this mod causes my game to crash when placing an anvil

Volgirian, Jul 5th at 6:38 PM
@Nyco: after some testing seems that this mod causes my game to crash when placing an anvil

I got the exact same problem! After placing an anvil of any kind the entire game crashed.

Volgirian, Jul 6th at 2:23 PM
@Zaldaryon: Nyco Volgirian please provide me crash logs
Crash Report
Involved Harmony IDs: com.tungsten.optimizations, com.zaldaryon.optitime
System.ArgumentNullException: Value cannot be null. (Parameter 'key')
at Vintagestory.GameContent.ItemIngot.GetRequiredAnvilTier(ItemStack stack) in VSSurvivalMod\Item\ItemIngot.cs:line 29
at Vintagestory.GameContent.BlockAnvil.<>c__DisplayClass11_0.<GetPlacedBlockInteractionHelp>b__1(ItemStack stack) in VSSurvivalMod\Block\BlockAnvil.cs:line 98
at System.Linq.Enumerable.ListWhereIterator`1.MoveNext()
at Vintagestory.GameContent.BlockAnvil.<GetPlacedBlockInteractionHelp>b__11_0() in VSSurvivalMod\Block\BlockAnvil.cs:line 87
at Vintagestory.API.Util.ObjectCacheUtil.GetOrCreate[T](ICoreAPI api, String key, CreateCachableObjectDelegate`1 onRequireCreate) in VintagestoryApi\Util\ObjectCacheUtil.cs:line 23
at Vintagestory.GameContent.BlockAnvil.GetPlacedBlockInteractionHelp(IWorldAccessor world, BlockSelection selection, IPlayer forPlayer) in VSSurvivalMod\Block\BlockAnvil.cs:line 85
at Vintagestory.Client.NoObf.HudElementInteractionHelp.ComposeBlockWorldInteractionHelp() in VintagestoryLib\Client\Systems\Gui\Huds\HudElementInteractionHelp.cs:line 294
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 36
at Vintagestory.Common.EventManager.TriggerGameTick_Patch13(EventManager this, Int64 ellapsedMilliseconds, IWorldAccessor world)
at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 867
at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 173
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 742
at Vintagestory.Client.ScreenManager.OnNewFrame_Patch11(ScreenManager this, Single dt)
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame_Patch11(ClientPlatformWindows this, FrameEventArgs e)
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 354
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 131
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95
Zaldaryon , Jul 6th at 11:16 PM
@Volgirian: Crash Report Involved Harmony IDs: com.tungsten.optimizations, com.zaldaryon.optitimeSystem.ArgumentNullException: Value cannot be null. (Parameter 'key') at Vintagestory.GameContent.ItemIngot.GetRequiredAnvilTier(ItemStack stack) in VSSurvivalMod\Item\It

This crash is not caused by Tungsten. The entire stack trace is clientside (HUD rendering), and Tungsten is a serverside-only mod that does not patch any of the methods involved (BlockAnvil, ItemIngot, GetRequiredAnvilTier, etc.).

The bug is a null Variant["metal"] in ItemIngot.GetRequiredAnvilTier. It means a content mod in your modpack adds an item that implements IAnvilWorkable without having a "metal" variant key. This crashes when the client tries to build the anvil interaction help tooltip.

To identify which mod causes it, disable content mods one at a time (start with smithingplus, knapster, XSkills) while keeping Tungsten enabled. The crash will stop when you remove the mod that adds the problematic item.

Sooner535, Jul 23rd at 1:11 AM (modified Jul 23rd at 1:11 AM)
@Nyco: i did this and found the offending mod, thank you sorry for the confusion.

Nyco what was the offending mod?

Yurigf, Aug 6th at 12:06 AM
@Sooner535: Nyco what was the offending mod?

Taking a stab in the dark, you're probably looking at smithingplus.

There is a patch available which fixes the "look at anvil" freeze / crash.

EthelVril, Jun 29th at 7:06 PM

I have a similar problem, idk if any of these conflict.

/tungsten health
=== Tungsten Multi-Mod Health ===
Patch Conflicts: 33 potential issue(s)
BlockEntityAnvil.OnUseOver: 2 prefixes from [knapster, smithingplus]
BlockPan.OnHeldInteractStop: 2 prefixes from [knapster, XSkillsPatch]
BlockEntitySapling.CheckGrow: 2 transpilers from [attributerenderinglibrary, danatweaks]
CollectibleBehaviorWearable.GetHeldItemInfo: 2 transpilers from [attributerenderinglibrary, com.chronolegionnaire.hydrateordiedrate]
CollectibleBehaviorWearable.GetMergableQuantity: 2 transpilers from [attributerenderinglibrary, com.chronolegionnaire.hydrateordiedrate]
BlockMeal.tryFinishEatMeal: 3 prefixes from [com.chronolegionnaire.hydrateordiedrate, birthsignsfresh.server, XSkillsPatch]
BlockEntityFruitTreePart.OnBlockInteractStop: 2 prefixes from [vinternacht.FGCPatches, XSkillsPatch]
CollectibleBehaviorHandbookTextAndExtraInfo.addProcessesIntoInfo: 2 prefixes from [com.jakecool19.efrecipes.cookingoverhaul, fairfish]
ModSystemWearableStats.applyShieldProtection: 2 transpilers from [attributerenderinglibrary, XSkillsPatch]
Block.CanPlaceBlock: 2 prefixes from [craluminum2413.morepiles, craluminum2413.PlaceEveryItem]
BlockBottle.tryEatStop: 2 prefixes from [slowtox, com.chronolegionnaire.hydrateordiedrate]
BlockLiquidContainerBase.tryEatStop: 4 prefixes from [slowtox, com.chronolegionnaire.hydrateordiedrate, XEffectsPatch, birthsignsfresh.server]
CollectibleObject.tryEatStop: 4 prefixes from [slowtox, com.chronolegionnaire.hydrateordiedrate, birthsignsfresh.server, XSkillsPatch]
<>c__DisplayClass34_0.<generate>b__0: 2 transpilers from [terraprety, com.tungsten.optimizations]
GenMaps.ForceLandformAt: 2 prefixes from [terraprety, WatershedsMod]
ClientAnimator.calculateMatrices: 2 transpilers from [OverhaulLib:Transpilers, AnimationsLib:Transpilers]
Animation.GenerateFrame: 2 transpilers from [OverhaulLib:Transpilers, AnimationsLib:Transpilers]
ClientAnimator.LoadPosesAndAttachmentPoints: 2 transpilers from [OverhaulLib:Transpilers, AnimationsLib:Transpilers]
EntityPlayerShapeRenderer.DoRender3DOpaque: 2 transpilers from [OverhaulLib:Transpilers, AnimationsLib:Transpilers]
EntityPlayerShapeRenderer.getReadyShader: 2 transpilers from [OverhaulLib:Transpilers, AnimationsLib:Transpilers]
EntityShapeRenderer.RenderHeldItem: 2 prefixes from [OverhaulLib:Animation, AnimationsLib:Animation]
EntityShapeRenderer.BeforeRender: 2 prefixes from [OverhaulLib:Animation, AnimationsLib:Animation]
CollectibleObject.TryMergeStacks: 2 prefixes from [farmlanddropswithnutrients, XSkillsPatch]
EntityBehaviorHealth.OnEntityReceiveDamage: 2 prefixes from [PlayerModelLibStats, birthsignsfresh.server]
CollectibleObject.DamageItem: 4 prefixes from [smithingplus, birthsignsfresh.server, XSkillsPatch]
CollectibleBehaviorQuenchable.IsGettingCooled: 2 prefixes from [smithingplus, XSkillsPatch]
BlockEntityAnvil.get_recipeVoxels: 2 prefixes from [smithingplus, XSkillsPatch]
CollectibleObject.OnHeldUseStart: 3 prefixes from [toolsmith, blushandbins.code.core, combatoverhaulfork.toolsmith.compat]
CollectibleObject.OnHeldUseStep: 2 prefixes from [toolsmith, combatoverhaulfork.toolsmith.compat]
CollectibleObject.OnHeldUseCancel: 2 prefixes from [toolsmith, combatoverhaulfork.toolsmith.compat]
CollectibleObject.OnHeldUseStop: 2 prefixes from [toolsmith, combatoverhaulfork.toolsmith.compat]
Block.OnGettingBroken: 3 prefixes from [XEffectsPatch, com.saltywater.immersivemining, XSkillsPatch]
ServerSystemEntitySimulation.TickEntities: 2 prefixes from [com.zaldaryon.synergy, com.tungsten.optimizations]
Johnski, Jun 22nd at 8:48 PM

Any ideas on these conflicts with xskills and terra prety showing on my server logs?

Spoiler
22.6.2026 13:45:52 [Server Warning] [Tungsten] [PatchConflict] <>c__DisplayClass34_0.<generate>b__0: 2 transpilers from [terra
prety, com.tungsten.optimizations]
22.6.2026 13:45:52 [Server Notification] [Tungsten] [PatchConflict] GenMaps.ForceLandformAt: 2 prefixes from [terraprety, Wate
rshedsMod]
22.6.2026 13:45:52 [Server Notification] [Tungsten] [PatchConflict] Block.OnGettingBroken: 2 prefixes from [XEffectsPatch, XSk
illsPatch]
22.6.2026 13:45:52 [Server Warning] [Tungsten] [PatchConflict] 4 potential conflict(s) found. Use /tungsten health for details
.
Zaldaryon , Jun 22nd at 9:56 PM
@Johnski: Any ideas on these conflicts with xskills and terra prety showing on my server logs? Spoiler 22.6.2026 13:45:52 [Server Warning] [Tungsten] [PatchConflict] <>c__DisplayClass34_0.<generate>b__0: 2 transpilers from [terra prety, com.tungsten.optimizations]

Those are informational warnings. Tungsten detects when multiple mods patch the same method, but it doesn't mean anything is broken.

  • Lines 2 and 3 (Terra Prety + WatershedsMod, XEffects + XSkills) are normal. Multiple prefixes coexist fine.
  • Line 1 (Terra Prety + Tungsten transpilers on the same method) is the only one worth watching. If terrain generation looks normal, no action needed.

You can run /tungsten health in-game for the full breakdown. Safe to ignore if everything works.

Alfy, Jun 18th at 4:58 PM

not really an issue but when running it on a server the log says to use "/tungsten health" when it finds patch conflicts whcich is not a valid command

Sakura_Kitsurugi, Jun 6th at 2:46 PM

Hey, the mod seems to cause a crash when used with BedSpawn mod. Removing Tungsten fixed the issue.


At the end of the log: https://mclo.gs/adBxajt

Zaldaryon , Jun 9th at 12:12 PM
@Sakura_Kitsurugi: Hey, the mod seems to cause a crash when used with BedSpawn mod. Removing Tungsten fixed the issue.At the end of the log: https://mclo.gs/adBxajt

Thanks for the report. I checked the crash log and the BedSpawn source code.

The crash is a NullReferenceException inside BedSpawn's own code at BedSpawnModSystem.SetPlayerSpawn (line 115). The full stack trace:

at BedSpawn.BedSpawnModSystem.SetPlayerSpawn(...)
at Vintagestory.GameContent.BlockBed.OnBlockInteractStart_Patch1(...)
at Vintagestory.Server.ServerSystemBlockSimulation.HandleBlockInteract(...)

BedSpawn hooks into BlockBed.OnBlockInteractStart via Harmony and then calls player.Entity.World.BlockAccessor.GetBlock(sel.Position) without any null checks. Your server was under heavy load at the time (multiple 800-1400ms tick warnings in the log), which creates a window where the player entity may not be fully initialized when the bed interaction fires. Tungsten does not patch BlockBed, OnBlockInteractStart, HandleBlockInteract, or anything in the block interaction path. None of its 24 optimizations touch that code. The reason "removing Tungsten" appeared to fix it is timing: Tungsten makes certain server operations faster, which shifts the race condition window. The underlying bug in BedSpawn remains either way. I'd suggest reporting this to the BedSpawn author at https://github.com/Ilan321/VSMods/issues. The fix on their side is a one-line null guard.

TotallyNotASmurf, May 29th at 2:50 AM

I have a question, how much does your mods, This, Synergy and OptiTime helps an person with bad hardware? I have been using OptiTime for a while, and yes it does help, but it can be better. I wanted to use all 3 for my singleplayer world (yes its that bad), however I've heard a lot of incompatibilities with some mods I am using, especially Immersive Fibercraft. So now I wonder whether or not all of your mods combined can help me enough to have me leave some of not compatible mods over using your optimization.

Zaldaryon , May 29th at 10:08 AM
@TotallyNotASmurf: I have a question, how much does your mods, This, Synergy and OptiTime helps an person with bad hardware? I have been using OptiTime for a while, and yes it does help, but it can be better. I wanted to use all 3 for my singleplayer world (yes its that bad

as far as many reports told me, it helps stabilizing your modded gameplay. it doesn't make everything faster - but your game can hold a load of mods much higher. They can all be used together in singleplayer.

SkepticJoker, May 28th at 6:45 PM

I'm getting this error message when I load into a world.

Spoiler

28.5.2026 10:37:36 [Notification] [Tungsten] [EntitySimulationOptimization] Skipped - TickEntities already patched by EntityListReuseOptimizer
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraZeroAlloc] Types resolved: OE=Vintagestory.API.MathTools.NewNormalizedSimplexFractalNoise+ColumnNoise+OctaveEntry, PE=Vintagestory.API.MathTools.NewNormalizedSimplexFractalNoise+ColumnNoise+PastEvaluation
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraZeroAlloc] ColumnNoise .ctor newarr[7]: System.Double (match OE=False, PE=False)
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraZeroAlloc] ColumnNoise .ctor newarr[10]: System.Int32 (match OE=False, PE=False)
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraZeroAlloc] ColumnNoise .ctor newarr[116]: Vintagestory.API.MathTools.NewNormalizedSimplexFractalNoise+ColumnNoise+OctaveEntry (match OE=True, PE=False)
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraZeroAlloc] ColumnNoise .ctor newarr[120]: Vintagestory.API.MathTools.NewNormalizedSimplexFractalNoise+ColumnNoise+PastEvaluation (match OE=False, PE=True)
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraZeroAlloc] ColumnNoise transpiler: 2 newarr replaced successfully.
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraZeroAlloc] Patches applied: ForColumn + GetInterpolatedOctaves
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraBitArray] Self-test passed (16 sizes, all bit-identical)
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraBitArray] Transpiled: SetAll=0, set_Item=0, get_Item=2
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraBitArray] Transpiled: SetAll=1, set_Item=2, get_Item=0
28.5.2026 10:37:36 [Notification] [Tungsten] [GenTerraBitArray] Patched generate() + 1 lambda(s)
28.5.2026 10:37:36 [Error] [Tungsten] [NativeNoise] A resolver is already set for the assembly.

Sidfu, May 27th at 11:14 AM

doing some testing as i build up my mod list to working and keep getting a random crash possibly from this mod. every time the main log always has 27.5.2026 07:08:19 [Notification] [Tungsten] [GenTerraBitArray] Transpiled: SetAll=0, set_Item=0, get_Item=2

Crash Report

Running on 64 bit Windows 10.0.22631.0 with 65323 MB RAM
Game Version: v1.22.2 (Stable)
5/27/2026 7:08:06: Critical error occurred
Loaded Mods: boatiespeedie12@1.0.4, cavesymphony@1.2.2, chickenfeed@1.1.12, cbr@2.0.1, chiseltools@1.17.1, combatrebalance@1.5.0, creaturefootsteps@1.3.0, drtagx@1.1.0, fireclayfrompanningcontinued@1.0.2, firestarters@1.4.6, fixedpaths@1.0.2, floralzonescaperegion@1.0.28, floralzonescaribbeanregion@1.0.23, floralzonescentralaustralianregion@1.0.20, floralzonescosmopolitanregion@1.0.11, floralzoneseastasiaticregion@1.0.19, floralzonesmediterraneanregion@1.0.19, floralzonesneozeylandicregion@1.0.19, bovinae@0.3.5, caninae@1.1.2, casuariidae@1.1.9, cervinae@0.1.13, chelonioidea@1.0.7, dinornithidae@1.0.22, elephantidae@1.0.17, felinae@0.2.13, iniidae@0.1.6, machairodontinae@1.1.7, manidae@1.0.19, meiolaniidae@0.1.10, pantherinae@1.2.8, rhinocerotidae@1.0.23, sirenia@1.0.26, spheniscidae@1.0.16, thylacinidae@0.1.6, viverridae@1.0.8, vombatidae@0.4.5, geoaddons@1.4.7, grasstoropes@1.2.4, hydrateordiedrate@2.4.12, immersivelanternsfork@0.0.6, immersivemining@0.2.22, lumberslingcontinued@1.1.0, m00ngrass@1.0.7, manualdough@1.1.8, millwright@1.3.3, monsternuggetdrops@1.4.0, moreiconscs@1.1.1, moremeadoptions@2.0.4, morefat2x@1.5.2, mycodiversity@1.0.7, crockenheimer@2.1.5, nudemod@1.0.5, pipeleaf@2.5.1, plainwallpapers@1.0.2, plumpkins@1.1.3, primitivesurvival@5.0.5, prospecttogether@2.2.1, p3bagtweaks@1.0.0, p2lumbersling@1.0.3, redlight@1.0.4, rlmoonsun@0.1.3, saltfromseawater@1.0.3, scrapsrevived@2.2.0, shelfobsessed@2.1.5, soaplyeandbloom@1.3.6, soilmustfall@1.3.0, somedisassemblyrequired@1.9.9, stickisolation@1.0.0, ot_SticksFromFirewood@1.1.0, stonequarryrepckfipil@3.6.2, tankardsandgoblets@1.4.2, temporalsymphony@2.3.1, toolbelt@0.3.5, translocatorengineeringredux@1.6.6, tseasonedfirewood@1.2.9, game@1.22.2, vsimgui@1.2.5, warmerlighting122@1.0.2, wetlandharvest@0.0.3, wildfarmingrevival@1.4.2, xvshaders@1.0.2, abyssaldepths@1.0.17, aculinaryartillery@2.0.0-dev.16, altmapiconrenderercontinued@1.6.0, anastastemod@1.2.21, animalcages@5.0.0, apegrapes@1.3.1, apelanterns@1.4.1, apewindows@1.5.0, arrowbarrels@1.5.0, attributerenderinglibrary@3.1.4, egocaribautomapmarkers@5.0.3, autoatlas@1.1.1, bandageanimation@0.2.18, bedspawnv2@1.7.0, betterfirepit@1.2.0, betterfpcamerafork@1.4.2, betterloot@2.0.1, betterruins@0.6.2, bettertraders@0.2.0, bloodtrail@1.2.2, bradycrudebuilding@1.5.4, butchering@1.13.3, carryonlib@1.0.0-pre.1, cartwrightscaravan@1.9.1, censership@1.0.5, clearerquartz@1.0.0, commonlib@2.8.0, configlib@1.12.0, coreofartspatch@1.2.1, coriaendershaders@1.2.2-pre.3, danatweaks@4.0.1, electricalprogressivecore@3.1.0, elkphysics@3.0.3, equipstats@1.0.2, extendedcreation@1.2.5, extrainfo@2.2.1, farseer@1.4.0, fendragonbcs@0.2.3, feverstonewilds@2.1.2, firepitsshowfuel@1.3.0, fishingplus@1.2.0, floatingfish@1.1.7, foodshelves@3.0.3, fotsacbp@1.0.0, freedomunits@1.1.5, genelib@3.0.2, handbookdeclutterer@2.0.1, hardcorewaterevolved@1.5.1, herbarium@1.4.2-rc.1, immersivewoodchopping@0.8.3, immersivewoodsawing@0.2.9, infinitumpickupmod@1.2.9, insanitylib@2.0.2, ithaniacannedgoods@2.0.1, jaunt@3.0.0-rc.3, jopainting@1.5.1, kevinsfurniture@1.9.0, maketeaforked@0.9.4, maltiezbows@1.1.0, mngeology@2.0.6, materialneeds@1.1.16, metalpots@1.7.6, meteoricexpansionfork@1.3.3, millwrightvawtaddon@1.0.3, mwi@1.9.0, moreanimals@1.6.6, morepiles@3.0.1, morewaypointicons@1.4.2, naturalfertilizer@1.5.0, naturescall@1.3.6, optitime@1.5.11, pelaguswinds@1.2.2, petai@5.1.1, pigfeed@1.0.10, placeonslabs@1.1.3, postsandbeams@1.5.1, claywheel@2.0.1, purposefulstorage@2.0.1, realisticwetness@0.0.3, realsmoke@1.2.0, riftworks@1.1.20, riverfish@1.0.3, rivers@5.0.0, saltandsands@1.3.0, savewaypointname@1.0.0, shipwright@1.3.3, slowtox@5.0.0, smithingplus@1.9.0-rc.1, snowcaps@0.0.1, somethinginthewater@1.2.7, statushudcont@4.3.1, stonebakeoven@1.3.2, substrate@2.0.0, synergy@1.1.12, tasshroombodyfat@0.0.16, th3dungeon@0.5.0, thecritterpack@1.3.4, toolsmith@1.2.16, treetapredux@1.2.7, valksfuzzyclouds@2.1.3, crocksonelkredone@1.1.0, discordrichpresence@1.1.1, creative@1.22.2, vsroofing@1.5.7, survival@1.22.2, warmweathereffects@1.0.4, waterfall@1.2.1, watersheds@6.3.6, wildgrasscontinued@1.3.11, windchimes@1.5.2, winterscylinders@1.0.1, woodenshuttersandmore@1.3.3, artofgrowingpatch@1.2.1, autoconfiglib@2.0.9, brainfreeze@1.3.7, butcheringfotsafellcompat@1.0.1, carryon@2.0.0-pre.1, compatlayer@0.0.6, electricalprogressivebasics@3.1.2, equus@1.3.0-rc.1, expandedfoods@2.0.0-dev.8, em@3.6.1, foxtaming@1.7.6, materialneedsaculinaryartillerycompatibilitypatch@1.0.2, mnflowers@0.0.0, patchedbutcheringcompatpatch@1.0.4, playercorpse@1.12.0, realsmokeforchiseltools@1.1.1, seasonalbreeding@1.1.1, shearlib@1.3.0, tailorsdelight@2.2.2, terrainslabs@1.0.16, toolsmithgeologypatch@1.2.0, wearandtear@1.5.21, wildcraftfruit@1.4.61, wildcrafttree@1.3.4, windowstoragelib@1.2.5, wolftaming@5.0.1, aogbreedingaddonpatch@1.2.1, artofwildgrass@1.1.0, bricklayers@3.2.2, dressmakers@1.8.0, electricalprogressiveindustry@0.7.0, electricalprogressiveqol@3.1.3, realsmokeartofgrowingfirepit@2.0.0, vanillapanestorage@1.8.2, windowstorage@1.8.25, wool@1.9.2, electricalprogressiveequipment@3.1.0
Involved Harmony IDs: com.tungsten.optimizations, com.zaldaryon.optitime
System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.API.Common.BlockBehavior.GetPlacedBlockInteractionHelpCount(IWorldAccessor world, BlockSelection selection, IPlayer forPlayer, EnumHandling& handling) in VintagestoryApi\Common\Collectible\Block\BlockBehavior.cs:line 267
at Vintagestory.API.Common.Block.GetPlacedBlockInteractionHelp(IWorldAccessor world, BlockSelection selection, IPlayer forPlayer) in VintagestoryApi\Common\Collectible\Block\Block.cs:line 2195
at Vintagestory.Client.NoObf.HudElementInteractionHelp.ComposeBlockWorldInteractionHelp() in VintagestoryLib\Client\Systems\Gui\Huds\HudElementInteractionHelp.cs:line 294
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 36
at Vintagestory.Common.EventManager.TriggerGameTick_Patch1(EventManager this, Int64 ellapsedMilliseconds, IWorldAccessor world)
at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 890
at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 173
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 742
at Vintagestory.Client.ScreenManager.OnNewFrame_Patch1(ScreenManager this, Single dt)
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame_Patch1(ClientPlatformWindows this, FrameEventArgs e)
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 354
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 131
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95

Event Log entries for Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 5/27/2026 4:48:49, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.22.2.0, time stamp: 0x693c0000
Faulting module name: openal32.dll, version: 1.23.0.0, time stamp: 0x63dd31ad
Exception code: 0x40000015
Fault offset: 0x00000000000df046
Faulting process id: 0x0x8694
Faulting application start time: 0x0x1dcedb4e34dccee
Faulting application path: E:\Vintage\Vintagestory.exe
Faulting module path: E:\Vintage\Lib\openal32.dll
Report Id: 75bc8c94-9f88-4552-aa36-24990f178b41
Faulting package full name:
Faulting package-relative application ID: }
--------------
{ TimeGenerated = 5/27/2026 4:38:44, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.22.2.0, time stamp: 0x693c0000
Faulting module name: ntdll.dll, version: 10.0.22621.5415, time stamp: 0xcd40b687
Exception code: 0xc0000374
Fault offset: 0x000000000010d1f9
Faulting process id: 0x0x89d4
Faulting application start time: 0x0x1dcedb374b50ee2
Faulting application path: E:\Vintage\Vintagestory.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: b44614fb-6239-42a0-938d-f3f92f232386
Faulting package full name:
Faulting package-relative application ID: }
--------------
{ TimeGenerated = 5/27/2026 4:26:32, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.22.2.0, time stamp: 0x693c0000
Faulting module name: ntdll.dll, version: 10.0.22621.5415, time stamp: 0xcd40b687
Exception code: 0xc0000374
Fault offset: 0x000000000010d1f9
Faulting process id: 0x0x745c
Faulting application start time: 0x0x1dcedb17525f5dc
Faulting application path: E:\Vintage\Vintagestory.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: f4f6c6a7-ca4f-4fa9-bccf-995953d45f1a
Faulting package full name:
Faulting package-relative application ID: }

Zaldaryon , May 27th at 11:47 AM
@Sidfu: doing some testing as i build up my mod list to working and keep getting a random crash possibly from this mod. every time the main log always has 27.5.2026 07:08:19 [Notification] [Tungsten] [GenTerraBitArray] Transpiled: SetAll=0, set_Item=0, get_Item=2

Looked into your crash - it's not Tungsten or OptiTime causing it. The NullRef is happening client-side when your HUD tries to show interaction help for a block, meaning some mod's BlockBehavior is returning null where it shouldn't. With 200+ mods it's hard to pinpoint which one, but since you're running CarryOn v2.0.0-pre.1 (a major rewrite released literally a day ago), I'd suggest rolling back to CarryOn v1.14.2 (stable) first and see if the crashes stop.

GotoFinal, May 24th at 11:26 AM

This mod breaks pathfinding and collisions somehow, not sure how, had chickens walk thro chiseled blocks of glass like its nothing, removed this mod and it no longer happens

Stason4ikRU, May 20th at 9:02 PM

Does this mod have a function for unloading chunks and special RAM?

Screwy, May 18th at 11:06 PM

Maybe its an issue with another mod, but player models get stuck on the spinning wheel chair (from Immersive Fibercraft) once they sit down.
We are playing on a server with about 90 mods and our tailor always has to relocate his spinning wheel, so that he does not cosplay a litteral ghost.
Could this be a conflict with one of your features?

Zaldaryon , May 18th at 11:16 PM (modified May 18th at 11:17 PM)
@Screwy: Maybe its an issue with another mod, but player models get stuck on the spinning wheel chair (from Immersive Fibercraft) once they sit down.We are playing on a server with about 90 mods and our tailor always has to relocate his spinning wheel, so that he

I investigated the Immersive Fibercraft source code and can confirm this isn't caused by Tungsten. None of our optimizations touch the mounting system (IMountable/IMountableSeat), player teleportation, or seat animation sync - we only optimize memory allocations in server internals like list reuse and packet construction.

The issue appears to be internal to Immersive Fibercraft's unmount logic - specifically how it handles repositioning the player after dismounting and how the mount state persists in block entity data. I'd recommend reporting it to HeadPilgrim on their GitHub (https://github.com/HeadPilgrim/vs-spinningwheel).

That said, if you'd like to rule Tungsten out entirely, you can temporarily disable it and check if the issue persists (it will).

Josselin17, May 10th at 3:28 PM (modified May 10th at 3:29 PM)

I have a weird bug with the mod, when I enable it, every time I join a game, or edit mod settings, and at regular intervals, it sets my game's resolution to the max, causing lag

Josselin17, May 12th at 7:09 PM
@Zaldaryon: Tungsten does not touch clientside settings at all.

my bad, it might be Optitime, I'll try to do some more testing

Zaldaryon , May 12th at 10:56 PM
@Josselin17: my bad, it might be Optitime, I'll try to do some more testing

if you have any of the Volumetric Shading or other shaders, they might be the culprits. It's an old bug.

Verius, May 9th at 9:10 AM (modified May 10th at 12:17 AM)

Hello everyone! I’d like to ask: is Tungsten intended for players who join the server, or only for the person hosting/running it?

Alatyr, Apr 26th at 10:18 AM

Singleplayer also launches a server. Should I download this mod if I'm playing solo?

Zaldaryon , Apr 26th at 11:57 AM
@Alatyr: Singleplayer also launches a server. Should I download this mod if I'm playing solo?

Well, you can, but for singleplayer the difference is negligible. This benefits more servers with 4+ players, in my experience.

ThreeHeadedDingo, Apr 23rd at 8:45 PM

This might be out of the wheelhouse of this mod, but I thought I'd ask anyways; with the performance gains here, would it be possible to get (or configure) changes to the update rate of things like the clock on the character screen to update more often? It's been a nuisance for as long as I've played VS that the clock time updates so infrequently, so when sleeping it's almost impossible to wake up at a precise time. Only reason I'm asking here is I don't know if the clock updating so infrequently is meant to be a performance thing.

Zaldaryon , Apr 23rd at 9:27 PM
@ThreeHeadedDingo: This might be out of the wheelhouse of this mod, but I thought I'd ask anyways; with the performance gains here, would it be possible to get (or configure) changes to the update rate of things like the clock on the character screen to update more often? I

Hello! That setting is a clientside only setting. While I could implement that in OptiTime (not here in Tungsten), it's not a scope of the mod - it won't be a performance setting. It should be possible to someone to adventure with a little code mod to speed that up though. (Not me, sorry, too many project in the moment xD)

Zaldaryon , Apr 23rd at 5:19 PM

SeniLiX Nope. This mod only optimizes things like vanilla already does. That mod changes how physics affect blocks and their amount. It's not in the scope of Tungsten.

SeniLiX, Apr 23rd at 5:17 PM

Does this mod also contain the features which is in Falling Blocks Spawn Manager?

Cuddly_Khan, Apr 8th at 11:04 AM (modified Apr 8th at 11:09 AM)

Seems to be incompatible with the changes that Smithing Plus makes to molds. Which setting should I disable to stop that? Smithing plus makes it so that you only need as much metal for molds as that metal has voxels when smithing it. Tungsten makes those molds need 100 units of metal but you can only put as many units in as Smithing Plus says it needs

 

Zaldaryon , Feb 23rd at 10:00 PM

Ize thanks!

About that mod, nothing that I know of. I would suggest to try to disable one of the 2 entity optimizations to see if they conflict. Besides that, it could be another mod. in OptiTime, newer versions, there is no entity tag optimization at all.

Ize, Feb 23rd at 8:31 PM (modified Feb 23rd at 8:32 PM)

Hello, thank you so much for developing this mod, we've noted significant improvements in performance.

I have one question, do you know if one of the optimizations of either Tungsten or OptiTime could potentially be conflicting with the operation of Hide Player Name? We've noted that that mod only works 40% of the time on our server with Tungsten, and less than that for people who also have Optitime. (We still haven't done extensive testing, but we don't have many other mods that seem like they could be interferring with player info calls).

Zaldaryon , Feb 12th at 10:09 AM (modified Feb 12th at 10:10 AM)

hey KarmaAvec1C, which version were you using? If it was only on 1.2.0, you could disable the 3 new optimizations from thetelev suggestion.

without any more info or server logs (you can send me via DM on Discord, for more confidentiality of the content) I can analyze that.

 

if it was before 1.2.0, try disable servermainlinqoptimization  and gridrecipeoptimization.

KarmaAvec1C, Feb 12th at 9:56 AM (modified Feb 12th at 10:03 AM)

Hello, I'm administrating a somewhat big server and using this for performance, and all players across the server noticed SEVERE freezes when crafting, both with the crafting optimization on AND off. We're not sure what else can cause this. It's the second itteration of this server, and it did not have this issue before we started using Tungsten.

Edit: For now untill the mod improves we've decided to disable Tungsten and go back to vanilla performance.

Kyokui, Feb 11th at 10:54 AM

Noticed your past few releases all have the same file name, would be nice if you put the mod version in the zip file's name so its easy to tell them apart

Zaldaryon , Feb 3rd at 12:07 PM
Ashleyyy33, Feb 3rd at 2:27 AM

Holy hell this fixed so many of my lag issues thank you so much lol

Zaldaryon , Feb 2nd at 11:50 AM

Architect is you're only hosting, no clientside mods will work, so, Tungsten. For the players, OptiTime.

Architect, Feb 2nd at 6:06 AM

Quick question, if I'm hosting a multiplayer game on my computer via the 'open to lan' button, would Tungsten be better or would OptiTime be better? 

Zaldaryon , Feb 1st at 11:01 AM

BraniyaKz ok, thx, 1.1.1 should mitigate that crash

BraniyaKz, Feb 1st at 9:05 AM (modified Feb 1st at 9:32 AM)

I got a crash report for you: Edit - After disabling/re-enabling mods, figured out this was actually crashing when the newest biomes mod was enabled. Not sure why.

Crash Report
Running on 64 bit Windows 10.0.26200.0 with 16228 MB RAM
Game Version: v1.21.6 (Stable)
2/1/2026 4:04:31 AM: Critical error occurred
Loaded Mods: walkingstick@1.0.18, barkbeetle@1.0.4, buzzybees@1.1.7, cbr@2.0.1, clicktopick@2.1.3, blocklayeroverhaul@1.0.2, landformoverhaul@1.0.2, diversediets@1.0.3, moonshinejug@1.0.2, expandedmolds@1.2.0, fallingtree@0.4.10, fieldsandplateaus@1.0.9, firestarters@1.4.5, floralzonescaperegion@1.0.28, floralzonescaribbeanregion@1.0.23, floralzonescentralaustralianregion@1.0.20, floralzonescosmopolitanregion@1.0.11, floralzoneseastasiaticregion@1.0.19, floralzonesmediterraneanregion@1.0.19, floralzonesneozeylandicregion@1.0.19, bovinae@0.3.5, fotsatp@1.0.2, caninae@1.1.2, capreolinae@2.0.7, casuariidae@1.1.9, cervinae@0.1.13, chelonioidea@1.0.7, dinornithidae@1.0.22, elephantidae@1.0.17, felinae@0.2.13, iniidae@0.1.6, machairodontinae@1.1.7, manidae@1.0.19, meiolaniidae@0.1.10, pantherinae@1.2.8, rhinocerotidae@1.0.23, sirenia@1.0.26, spheniscidae@1.0.16, thylacinidae@0.1.6, viverridae@1.0.8, vombatidae@0.4.5, geoaddons@1.4.6, icecutterrw@1.0.4, icyexc@1.0.0, immersivechests@0.2.1, immersivelanterns@0.3.2, immersivemining@0.2.18, immersiveorecrush@2.2.4, indappledgroves@2.2.1-rc.1, abelisauridae@1.0.11, ankylosauria@1.0.19, carcharodontosauridae@1.0.7, ceratopsidae@1.2.1, dromaeosauridae@1.0.18, hadrosauroidea@1.0.12, macronaria@1.0.21, mosasauridae@1.0.14, ornithomimosauria@1.0.4, pachycephalosauria@1.0.10, spinosauridae@1.1.0, stegosauria@1.0.2, therizinosauridae@1.0.2, tyrannosauridae@1.4.2, manualdishes@0.1.1, manualfirestarter@0.1.2, manualquenching@1.0.10, manualscraping@1.3.0, mistsofstability@0.2.0, mycodiversity@1.0.5, plainsandvalleys@1.0.12, plumpkins@1.1.3, primitivesurvival@4.0.3, ruderalis@1.0.2, scrolled@1.1.6, soaplyeandbloom@1.3.6, sprintmomentum@0.2.0, spyglass@0.6.0, stoneharvesting@1.2.1, toolbelt@0.3.4, tulesedgefix@1.0.1, undertangledboughs@1.0.5, game@1.21.6, vsimgui@1.1.16, wilderlandscavessystem@2.0.0, wgroundlayers@1.0.3, windowstorage@1.5.3, zoombuttonreborn@2.0.1, ancienttools@1.6.1, attributerenderinglibrary@2.7.0, betterpoultice2@1.0.11, betterruins@0.5.6, bettertraders@0.1.0, billposting@1.1.0, blacksmithname@1.2.7, bloodtrail@1.1.8, butchering@1.11.0, canjewelry@0.5.19, cannibalism@1.2.3, carryon@1.12.1, cartwrightscaravan@1.8.0, caveinfix@0.8.2, clothierheirloomsmod@1.0.2, commonlib@2.8.0, configlib@1.10.14, coreofartspatch@1.0.5, danatweaks@3.7.1, entangledinnature@1.0.61, entityguard@2.1.1, tackandequipment@1.0.0, extrainfo@1.11.2, farmlanddropswithnutrients@1.2.2, farseer@1.3.3, firepitsshowfuel@1.3.0, foodshelves@2.3.3, footprints@1.1.2, foragersgamble@1.2.6, genelib@2.1.6, handbookdeclutterer@1.0.0, hudclockpatch@1.1.2, hydrateordiedrate@2.3.7, idgaxecompat@1.0.0, immersiverope@1.0.7, improvedsheepupdate@1.0.2, indappedupgroves@1.0.1, insanitylib@1.1.0, interestingoregen@2.2.3, jaunt@2.2.0-rc.2, juicyores@1.0.2, knitting@1.1.1, liquidcontainers@1.3.1, aaloppatch121@0.0.1, lordoftheflies@1.0.0, metaltongs@1.2.4, meteoricexpansion@1.2.6, moreanimals@1.6.6, mountcamerafix@0.2.0, naturalfertilizer@1.3.0, optitime@1.4.0, pickupbabyanimals@1.2.2, placeonslabs@1.0.3, pomshadercache@1.1.3, postsandbeams@1.5.0, primitivebackpacks@1.1.0, purposefulstorage@1.5.1, qualityofbuilding@1.1.0, rebuildablebloomery@1.0.6, riverfish@1.0.3, rivers@4.7.5, rottingstorage@1.0.2, saltandsands@1.1.6, saltpeterproduction@1.1.0, scientificsmithy@0.1.9, smithingplus@1.8.3, spinningwheel@1.1.6, spyglassinfo@1.0.2, substrate@1.1.4, th3dungeon@0.4.5, thievery@1.2.6, toolsmith@1.2.14, trailmodupdated@1.3.6, unofficialbugfix@0.0.6, vanvar@7.1.1, creative@1.21.6, vsroofing@1.2.1, survival@1.21.6, waterfall@1.0.0, wildgrass@1.3.8, alternativegliderimplementationreforged@1.0.1, artofcookingpatch@1.0.4, artofgrowingpatch@1.1.8, autoconfiglib@2.0.9, brainfreeze@1.3.5, cookingtweaks@1.2.3, danacancook@1.0.1, detailedanimals@0.7.4, draconis@1.2.0, drkssling@1.1.5, elkjaunt@1.3.0, equus@1.2.0, hydraulicsredone@1.0.1, immersiveinventoryspoilage@1.2.3, mechanicalwoodsplitter@1.1.2, monoceros@1.3.1, mycoboost@0.0.1, pegasus@1.0.3, playercorpse@1.12.0, seasonalbreeding@1.1.0, shearlib@1.2.0, terrainslabs@1.0.11, th3dungeontopentrance@0.4.2, vanillavariantsridingequipment@2.2.0, vintagechihuahua@0.1.0, toolsmithgeologypatch@1.0.0, wearandtear@1.5.17, wildtrails@1.0.0, aogbreedingaddonpatch@1.1.2, artofwildgrass@1.1.0, drakeextension@1.0.0, growingwildgrass@1.0.1, terrainslabstrailmodcompatibility@1.0.3, wool@1.8.2
Involved Harmony IDs: com.tungsten.optimizations, com.zaldaryon.optitime
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Threading.ThreadLocal`1[[System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[Vintagestory.API.Common.ItemStack, VintagestoryAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Vintagestory.API.Common.CraftingRecipeIngredient, VintagestoryAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
at System.Threading.ThreadLocal`1.GetValueSlow()
at Tungsten.GridRecipeOptimizer.MatchesShapeLess_Prefix()
at Vintagestory.API.Common.GridRecipe.MatchesShapeLess_Patch1(GridRecipe this, ItemSlot[] suppliedSlots, Int32 gridWidth)
at Vintagestory.API.Common.GridRecipe.Matches_Patch1(GridRecipe this, IPlayer forPlayer, ItemSlot[] ingredients, Int32 gridWidth)
at Vintagestory.Common.InventoryCraftingGrid.FindMatchingRecipe() in VintagestoryLib\Common\GameContent\Inventory\InventoryCraftingGrid.cs:line 178
at Vintagestory.Common.CraftingInventoryNetworkUtil.UpdateFromPacket(IWorldAccessor resolver, Packet_InventoryContents packet) in VintagestoryLib\Common\GameContent\Inventory\InventoryCraftingGrid.cs:line 25
at Vintagestory.Client.NoObf.ClientPlayer.AddOrUpdateInventory(ClientMain game, Packet_InventoryContents packet) in VintagestoryLib\Client\Model\ClientPlayer.cs:line 139
at Vintagestory.Client.NoObf.ClientPlayer.UpdateFromPacket(ClientMain game, Packet_PlayerData packet) in VintagestoryLib\Client\Model\ClientPlayer.cs:line 161
at Vintagestory.Client.NoObf.GeneralPacketHandler.HandlePlayerData(Packet_Server packet) in VintagestoryLib\Client\Systems\GeneralPacketHandler.cs:line 261
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 786
at Vintagestory.Client.GuiScreenConnectingToServer.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenConnectingToServer.cs:line 298
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 760
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 663
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 112
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 347
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 131
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95
Shinji170981, Jan 21st at 8:31 PM

Okay, i will give it a try and let you know :)

Zaldaryon , Jan 21st at 11:39 AM

Shinji170981 if you change the modinfo.json inside of the zip and change the dependencies of the game to 1.21.0 you probably can run in 1.21.0. I can't guarantee no crash, though

Shinji170981, Jan 21st at 11:16 AM

Zaldaryon I get the general issue, when a mod isn't compatible:
21.1.2026 12:14:56 [Error] [tungsten] Could not resolve some dependencies:
21.1.2026 12:14:56 [Error] [tungsten] game@1.21.5 - Version mismatch (has 1.21.0)

I don't want to ask for something impossible, so if it's not possible, please disregard my request. :)

Zaldaryon , Jan 20th at 11:56 PM

Shinji170981 did you try yet? did it crash? if so, please provide the server-*.log so I can fix some specific bug... considering my free time is limited, specific points are easier to fix.

Shinji170981, Jan 20th at 9:19 PM

Zaldaryon at the risk of sounding stupid, but do you think, it would be possible to make the mod backwards compatible to 1.21.0?
I am no programmer, so i have no idea, how difficult it would be, understanding enough to know that as a non programmer, i am not seeing everything what makes the code dependent in different versions.
If it's not possible, at least it was worth a try in asking. :)

Zaldaryon , Jan 14th at 1:29 AM

Portokalis it should be, yes. it should return the same funcionality as vanilla does.

Portokalis, Jan 14th at 12:29 AM

Is this safe to add and remove to an already running server?

Zaldaryon , Jan 8th at 12:02 PM

DeeTales nope, this doesn't touch what rubberbandaid mod does. Nor it touches the garbage collection methods as you said. They should both work fine with the mod.

DeeTales, Jan 8th at 11:33 AM

I've been running this on a heavily modded personal server (and optitime) on the client, without issue. Seems to have smoothed things out some, but it's hard to be sure. 

 

Does this (or optitime) make the rubberbandaid mod redundant? And does it have any interaction with explicitly setting .NET's garbage collection methods to to gcServer enabled="true", gcConcurrent enabled="true" via an app.config file in the VS program directory? I'm using both. 

Zaldaryon , Dec 16th 2025 at 2:18 PM

Bone_D nope.

Bone_D, Dec 16th 2025 at 2:18 PM

would this interfere with mods that increase the global despawn timer? (not dropped on death)

Zaldaryon , Dec 14th 2025 at 10:45 PM (modified Dec 14th 2025 at 10:45 PM)

Volixia669 thanks for your input. Sadly, moving things from RAM to any strorage (even a SSD, for instance) is very costly and it would cause slowness, for sure, much more than RAM usage. Sadly playing with lots of mods, it has this constraint. Nothing the mod could help, only some overhaul in the base game.

Volixia669, Dec 14th 2025 at 3:44 AM

Zaldaryon , Kyokui Oh hey, I'm one of those people with a ridiculous number of mods. I'm running 130, on a laptop with 16gb of RAM, SSD, and is a dual boot type system. I've played on both Linux and windows with said laptop, current run is via MX Linux with KDE Plasma for the desktop stuff.

 

I play using the VS Launcher to help with modding and all that, so when I'm in game, there's only the launcher, vintage story, and whatever background processes KDE has going on. Windows I weirdly had less trouble with laptop heating up, but it was also the 1.20 version about...A year ago? Something like that.

 

Playing with tungsten and optifine has helped a touch. Laptop still really heats up, but vintage story at least seems to stay around 10 to 12gb of RAM usage. Still some hitches, and glancing at the known conflicts, it does make me wonder if the container optimization is part of why ever since I added a mod that adds obnoxious amounts of inventory, there's been an issue of items in inventory turning into reed baskets, sometimes temporarily, sometimes permanently? It's appropriately named "Ludicrous Backpack Capacity". Didn't notice any particular changes to gameplay beyond that bug so it could be a conflict or it could be a more isolated bug. (Also I probably wouldn't reccomend using that on a multiplayer server. That's just asking for trouble.)

 

That said, it's just me, and there's still a LOT of RAM usage due to how the game allegedly loads and runs mods. (I've seen it described as everything is frontloaded into the RAM which...I guess means things are more swiftly accessed, but you pay for that access in that how many mods you can run depends on how much RAM you have, and how efficient your OS is with prioritizing RAM usage. It just makes it tricky from a modding perspective because you would have to literally change how the game accesses data. I saw someone made a caching mod, so it just might be possible to cache on to the hard disk/SSD, but still. There's also a matter of what can be cached, and is it worth it to bother caching them?) 

 

I don't play with any fancy effects, pretty low on the graphics settings, and I had to nix expanded foods/culinary matters as they were having WAY too many bugs to let the game even start up.

 

ANyways, hopefully there's some useful info in all that rambling lol. If desired, I can test with/without the performance mods, as well as provide a full mod list!

 

ividyon, Dec 13th 2025 at 12:25 PM

Thanks, your last post fixed the last issue.

 

Now a friend is crashing when drinking Riftbloom Tea with the Rustbound Magic mod:

 

Crash Report
vsserver  | 13.12.2025 12:18:43 [Server Event] Player Stakhanov got removed. Reason: Threw an exception at the server
vsserver | 13.12.2025 12:18:43 [Server Error] Exception: Unable to cast object of type 'Vintagestory.API.Common.IPlayer[]' to type 'Vintagestory.API.Server.IServerPlayer[]'.
vsserver | at rustboundmagic.src.system.effects.StatusEffects.AttemptBuffListRemoveAndAdd(Entity effectedEntityIn, String effectIdIn, Single durationIn) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\effects\StatusEffects.cs:line 1043
vsserver | at rustboundmagic.src.system.effects.StatusEffects.TryToApplyStats(Single duration) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\effects\StatusEffects.cs:line 505
vsserver | at rustboundmagic.src.system.effects.StatusEffects.TemporaryEntityPlayerStats(Entity entity, Dictionary`2 effectList, String code, Single duration, String id) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\effects\StatusEffects.cs:line 479
vsserver | at rustboundmagic.src.system.spells.global.RiftbloomTea1.OnCastStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean isspellscrollIn, Boolean inprismofmagnificationIn, Boolean inprismofduplicationIn, Single durationleftafterlogoutIn) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\spells\global\RiftbloomTea1.cs:line 39
vsserver | at rustboundmagic.src.common.collectiblebehavior.CollectibleBehaviorRecoverManaRM.OnHeldInteractStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, EnumHandling& handling) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\common\collectiblebehavior\CollectibleBehaviorRecoverManaRM.cs:line 175
vsserver | at Vintagestory.API.Common.CollectibleObject.OnHeldInteractStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1437
vsserver | at Vintagestory.Server.ServerSystemInventory.HandleHandInteraction(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\Systems\Inventory.cs:line 258
vsserver | at Vintagestory.Server.ServerMain.HandleClientPacket_mainthread(ReceivedClientPacket cpk) in VintagestoryLib\Server\ServerMainNetworking.cs:line 280
vsserver | at Vintagestory.Server.ServerMain.ProcessMain() in VintagestoryLib\Server\ServerMain.cs:line 934

 

Looks to be the exact same issue as below. The problem is that, due to that post, I already disabled the container optimization before my friend even joined, and yet the crash still occurs.

Disabling cooking container optimization didn't help either. I've had to remove Tungsten once again.

Zaldaryon , Dec 12th 2025 at 7:54 PM

EnderMelody ok I tested all possible common situations and now the commands should be fixed in 1.0.7. The moddata wasn't created because of the command bug. it should be doing now.

EnderMelody, Dec 12th 2025 at 6:37 PM

didnt see any outputs in the moddata folder even with just this mod. im on linux so potentially something there is breaking.
the chat output also still breaks with only this mod which locks the chat to having "Usage: tungsten [" displayed forever. image 
the "test" text is a chat message that i sent after using the command and it displays the last message sent (not commands) in chat. only way to fix chat seems to be reloading the world (singleplayer, i havent tested in mutiplayer)

Zaldaryon , Dec 12th 2025 at 6:05 PM (modified Dec 12th 2025 at 7:54 PM)

ividyon I hardened the null check in 1.0.7, try it pls

ividyon, Dec 12th 2025 at 4:49 PM
Crash Report
vsserver  | 12.12.2025 16:46:43 [Server Error] [tungsten] An exception was thrown when trying to start the mod:
vsserver | 12.12.2025 16:46:43 [Server Error] [tungsten] Exception: Object reference not set to an instance of an object.
vsserver | at Tungsten.FrameProfilerController.Enable(Nullable`1 threshold)
vsserver | at Tungsten.TungstenMod.StartServerSide_Patch0(TungstenMod this, ICoreServerAPI api)
vsserver | at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in VintagestoryLib\Common\API\ModLoader.cs:line 679
vsserver | 12.12.2025 16:46:43 [Server Error] Failed to start system Tungsten.TungstenMod
Zaldaryon , Dec 11th 2025 at 1:04 PM

EnderMelody it creates some csv values in the ModData folder inside your VintageStoryData folder.

Zaldaryon , Dec 11th 2025 at 9:17 AM

Kyokui I have no reports of it so far, at least they didn't reach to me

Kyokui, Dec 11th 2025 at 5:01 AM

Has this mod been tested in highly modded environments, 80-120+ mods? I'd love to use this for my server since its creeping up on 20 active average players, but am not sure its been tried and tested enough

EnderMelody, Dec 11th 2025 at 4:22 AM

im trying to get the profiler (stats command) but when i type the command in chat it freezes chat from updating further till the stats off command is run. i also dont see anywhere obvious an output file for it. is there more documentation on this command? am i using this right or misunderstanding what this command does?

Zaldaryon , Dec 10th 2025 at 9:58 AM

FilamentCat sigh. It's better to keep that optimization off for now then when using rustbound magic mod.

FilamentCat, Dec 10th 2025 at 4:34 AM

Zaldaryon Still no luck.

Crash Report

10.12.2025 04:31:59 [Server Event] Player Melkin1990 got removed. Reason: Threw an exception at the server
10.12.2025 04:31:59 [Server Error] Exception: Unable to cast object of type 'Vintagestory.API.Common.IPlayer[]' to type 'Vintagestory.API.Server.IServerPlayer[]'.
at rustboundmagic.src.system.effects.StatusEffects.AttemptBuffListRemoveAndAdd(Entity effectedEntityIn, String effectIdIn, Single durationIn) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\effects\StatusEffects.cs:line 1043
at rustboundmagic.src.system.effects.StatusEffects.TryToApplyStats(Single duration) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\effects\StatusEffects.cs:line 505
at rustboundmagic.src.system.effects.StatusEffects.TemporaryEntityPlayerStats(Entity entity, Dictionary`2 effectList, String code, Single duration, String id) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\effects\StatusEffects.cs:line 479
at rustboundmagic.src.system.spells.global.RiftbloomTea1.OnCastStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean isspellscrollIn, Boolean inprismofmagnificationIn, Boolean inprismofduplicationIn, Single durationleftafterlogoutIn) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\spells\global\RiftbloomTea1.cs:line 39
at rustboundmagic.src.common.collectiblebehavior.CollectibleBehaviorRecoverManaRM.OnHeldInteractStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, EnumHandling& handling) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\common\collectiblebehavior\CollectibleBehaviorRecoverManaRM.cs:line 175
at Vintagestory.API.Common.CollectibleObject.OnHeldInteractStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1437
at Vintagestory.Server.ServerSystemInventory.HandleHandInteraction(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\Systems\Inventory.cs:line 258
at Vintagestory.Server.ServerMain.HandleClientPacket_mainthread(ReceivedClientPacket cpk) in VintagestoryLib\Server\ServerMainNetworking.cs:line 280
at Vintagestory.Server.ServerMain.ProcessMain() in VintagestoryLib\Server\ServerMain.cs:line 934
10.12.2025 04:31:59 [Server Event] Client 3 disconnected.

Zaldaryon , Dec 9th 2025 at 11:59 PM

FilamentCat try 1.0.5 and enable the optimization again. It might work now.

FilamentCat, Dec 9th 2025 at 11:02 PM

Sure. Crash logs are server side only:

Crash Report
9.12.2025 23:00:41 [Server Warning] Exception at client 45. Disconnecting client.
9.12.2025 23:00:41 [Server Notification] Client 45 disconnected: An action you (or your client) did caused an unhandled exception
9.12.2025 23:00:41 [Server Notification] UDP: client disconnected FilamentCat
9.12.2025 23:00:41 [Server Event] Player FilamentCat got removed. Reason: Threw an exception at the server
9.12.2025 23:00:41 [Server Error] Exception: Unable to cast object of type 'System.Object[]' to type 'Vintagestory.API.Server.IServerPlayer[]'.
at rustboundmagic.src.system.effects.StatusEffects.AttemptBuffListRemoveAndAdd(Entity effectedEntityIn, String effectIdIn, Single durationIn) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\effects\StatusEffects.cs:line 1043
at rustboundmagic.src.system.effects.StatusEffects.TryToApplyStats(Single duration) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\effects\StatusEffects.cs:line 505
at rustboundmagic.src.system.effects.StatusEffects.TemporaryEntityPlayerStats(Entity entity, Dictionary`2 effectList, String code, Single duration, String id) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\effects\StatusEffects.cs:line 479
at rustboundmagic.src.system.spells.global.RiftbloomTea1.OnCastStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean isspellscrollIn, Boolean inprismofmagnificationIn, Boolean inprismofduplicationIn, Single durationleftafterlogoutIn) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\system\spells\global\RiftbloomTea1.cs:line 39
at rustboundmagic.src.common.collectiblebehavior.CollectibleBehaviorRecoverManaRM.OnHeldInteractStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, EnumHandling& handling) in C:\Users\Vies\Documents\GitHub\Mods-VintageStoryNet7\Mod-RustboundMagic\rustboundmagic\src\common\collectiblebehavior\CollectibleBehaviorRecoverManaRM.cs:line 175
at Vintagestory.API.Common.CollectibleObject.OnHeldInteractStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1435
at Vintagestory.Server.ServerSystemInventory.HandleHandInteraction(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\Systems\Inventory.cs:line 258
at Vintagestory.Server.ServerMain.HandleClientPacket_mainthread(ReceivedClientPacket cpk) in VintagestoryLib\Server\ServerMainNetworking.cs:line 280
at Vintagestory.Server.ServerMain.ProcessMain() in VintagestoryLib\Server\ServerMain.cs:line 934
9.12.2025 23:00:41 [Server Event] Client 45 disconnected.
Zaldaryon , Dec 9th 2025 at 8:24 PM

FilamentCat can you provide the crash log so I can see if there's any way I could contour that?

FilamentCat, Dec 9th 2025 at 8:11 PM

I ran into a crash that occurs when using Tungsten alongside Rustbound Magic. Specifically, the game crashes when drinking Riftbloom tea from any container. The tea uses the vanilla BlockLiquidContainerTopOpened class.

After some digging, I found that disabling EnableContainerOptimization in the Tungsten config fixes the issue. My guess is that the GetContentStacks transpiler optimization (the list reuse pattern) might be conflicting with how Rustbound handles the liquid container during consumption.

Not sure if this is something that can be addressed on the Tungsten side or if Rustbound needs to adjust their code, but figured I'd report it in case others run into the same thing or if there's a known workaround beyond disabling the optimization entirely.

Versions:

  • Tungsten: 1.0.3
  • Rustbound Magic: 3.1.9
  • Vintage Story: 1.21.x

Workaround: Set EnableContainerOptimization to false in ModConfig/Tungsten.json

Zaldaryon , Dec 3rd 2025 at 5:59 PM

Hello smt923. I investigated and this is not caused by Tungsten. 

Most likely suspects:
- BetterRuinsv0.5.4.zip - Modifies worldgen structures
- th3dungeon_0.4.4.zip - Adds dungeon generation
- undergroundmines_1.0.5.zip - Modifies underground worldgen
- giantlilies-1.0.1.zip - Adds worldgen features

 

The mod that causes it looks like triggers a vanilla bug - the vanilla code at LerpedWeightedIndex2DMap.cs:line 227 doesn't properly validate array bounds before accessing elements. This is a Vintage Story bug, not a mod issue - the mods just happen to
trigger the conditions that expose it.

smt923, Dec 3rd 2025 at 4:38 PM (modified Dec 3rd 2025 at 4:47 PM)

installed this mod on our server to test and started getting some worldgen errors that i wasn't getting without it, we have a lot of mods so it might be some sort of conflict but i figure i'd post it just incase it's something obvious or something i can disable to fix, because otherwise this + optitime really seemed to help with the framerate and small stutters on our server

 

as far as actual terrain worldgen mods go we only have terra prety, im not sure if it would be anything else, but the full modlist is below

 

Crash Report
 3.12.2025 16:22:56 [Worldgen] An error was thrown in pass Terrain when generating chunk column X=16061,Z=15955 in world 'A new world' with seed 313185556
Exception System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Vintagestory.ServerMods.LerpedWeightedIndex2DMap.HalfBiLerp(WeightedIndex[] left, WeightedIndex[] right, Single lerp, Single[] output, Single overallweight) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\Datastructures\LerpedWeightedIndex2DMap.cs:line 227
at Vintagestory.ServerMods.LerpedWeightedIndex2DMap.WeightsAt(Single x, Single z, Single[] output) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\Datastructures\LerpedWeightedIndex2DMap.cs:line 115
at Vintagestory.ServerMods.GenTerra.generate(IServerChunk[] chunks, Int32 chunkX, Int32 chunkZ, Boolean requiresChunkBorderSmoothing) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\ChunkGen\1.GenTerra\GenTerra.cs:line 335
at Vintagestory.ServerMods.GenTerra.OnChunkColumnGen(IChunkColumnGenerateRequest request) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\ChunkGen\1.GenTerra\GenTerra.cs:line 174
at Vintagestory.Server.ServerSystemSupplyChunks.runGenerators(ChunkColumnLoadRequest chunkRequest, Int32 forPass) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\LoadThread\SupplyChunks.cs:line 1936

 

Modlist
modorigin@/server/assets/creative/
modorigin@/server/assets/survival/
mod@AmericanFrontiersmanWesternWear_1.8.5.zip
mod@AngelBelt-1.20-1.6.0.zip
mod@canoemod+1.21.zip
mod@canoemodcircuitspatch_2.0.0.zip
mod@CaveSymphony_1.2.1.zip
mod@ChiseledBlockRetention-2.0.0.zip
mod@chiseltools1.15.4.zip
mod@ClickUpTorches.zip
mod@CompostTweak_1.3.0.zip
mod@DecorBazaar_v1.3.1.zip
mod@DodgeMaster_1.2.3.zip
mod@drbraziers_1.1.2.zip
mod@Froghat.zip
mod@ImmersiveLanterns_0.3.1.zip
mod@Light_Level_One_2.0.zip
mod@MechanicalBlockRetention-1.0.0.zip
mod@millwright_1.3.1.zip
mod@MoreSaddleBlankets_v0.1.5.zip
mod@MoreTorchHolders_1.0.1.zip
mod@NoBearJetpacks_1.0.2.zip
mod@NoMoreDrifterThrowingRedux1.0.5.zip
mod@overhaullib_1.15.5.zip
mod@playermodellib_1.7.0.zip
mod@primitivesurvival_4.0.2.zip
mod@ProspectTogether-2.1.2.zip
mod@scrollrackable.1.4.0.zip
mod@SeasonedFirewood1.2.5.zip
mod@shelfobsessed_v1.9.1.zip
mod@SoapLyeandBloomV1.3.6.zip
mod@TankardsandGoblets_v1.3.4.zip
mod@temporal_gears_stack+v1.zip
mod@vsimgui_1.1.16.zip
mod@wildfarmingrevival_1.4.2.zip
mod@ABCSRedux_v2.0.5.zip
mod@ACulinaryArtillery 2.0.0-dev.10.zip
mod@airthermomod_0.3.0.zip
mod@alchemy_1.7.21.zip
mod@animalcages_v4.0.2.zip
mod@anthrowolfrace_0.1.2.zip
mod@apelanterns-v1.21.1-1.3.5.zip
mod@Auto Map Markers 4.0.3 - Vintagestory 1.21-rc.zip
mod@BeastsOfMen.zip
mod@bedspawnv2_1.6.4.zip
mod@betterloot2.0.1.zip
mod@BetterRuinsv0.5.4.zip
mod@BetterTradersv0.1.0.zip
mod@BloodTrail-v1.1.8.zip
mod@canjewelry_0.5.15.zip
mod@CarryOn-1.21.0_v1.12.1.zip
mod@CartwrightsCaravan_1.8.0.zip
mod@cheaperterrapreta.zip
mod@combatoverhaul_0.10.19.zip
mod@DanaTweaks-v3.6.0.zip
mod@equusTackAndEquipment_1.0.0.zip
mod@fanciersigns_1.1.1.zip
mod@farseer_1.3.2.zip
mod@foodshelves_2.3.3.zip
mod@Footprints-v1.1.1.zip
mod@FromGoldenCombs-1.21-v1.9.4.zip
mod@genelib_2.1.6.zip
mod@giantlilies-1.0.1.zip
mod@gimmeoneseedplz_1.1.0.zip
mod@globalplayermapmarker_1.2.1.zip
mod@hydrateordiedrate_2.3.2.zip
mod@jaunt_2.1.1.zip
mod@jopainting_1.5.0.zip
mod@kevinsfurniture_1.7.5.zip
mod@Knapster_v3.0.2.zip
mod@lichen1.8.3.zip
mod@lupinerace_0.1.2.zip
mod@maketeaforked_0.7.1.zip
mod@maltiezcrossbows_1.6.8.zip
mod@maltiezfirearms_1.5.3.zip
mod@Mannequin-Stand-v1.0.7.zip
mod@MeteoricExpansion_V1.2.6.zip
mod@MorePiles-v2.2.0.zip
mod@naturescall_1.3.5.zip
mod@nbcartographer_2.2.1.zip
mod@pelaguswinds_1.2.2.zip
mod@petai_v4.0.3.zip
mod@PingMarkers_1.1.1.zip
mod@PlaceEveryItem-v2.3.0.zip
mod@purposefulstorage_1.5.1.zip
mod@rebuildablebloomery_1.0.6.zip
mod@rustboundmagic_3.1.8.zip
mod@scaffolding_1.2.5.zip
mod@SimpleFootStepsRedux-1.0.4.zip
mod@slowtox_4.0.1.zip
mod@smithingplus_1.8.3.zip
mod@stonebakeoven_1.2.0.zip
mod@TerraPrety_7.0.9.zip
mod@th3dungeon_0.4.4.zip
mod@The_Critters_Pack_v1-3-4.zip
mod@toolsanimations_1.3.0.zip
mod@torchholderplaceontop_1.0.1.zip
mod@undergroundmines_1.0.5.zip
mod@usefulstuff17_1.5.0.zip
mod@vanillamoremolds_1.1.2.zip
mod@Vanity-2.4.6.zip
mod@Verticality_0.3.1.zip
mod@vsinstrumentsbase_2.0.6.zip
mod@xlib_v0.9.0-pre.2.zip
mod@armory_1.6.2.zip
mod@BoMCOArmory.zip
mod@cats_v4.0.0_petai_v4.0._.zip
mod@draconis_1.1.4.zip
mod@elkjaunt_1.3.0.zip
mod@equus_1.2.0.zip
mod@ExpandedFoods 2.0.0-dev.5.zip
mod@expanded_matter-3.4.0.zip
mod@foxtaming-1.7.2.zip
mod@morearrows_1.1.2.zip
mod@pastoralism-1.0.2.zip
mod@PlayerCorpse_VS1.21.1_net8_v1.12.0.zip
mod@quiversandsheaths_0.6.3.zip
mod@rustboundmagic_easy_0.1.0.zip
mod@shearlib-1.2.0.zip
mod@StoneQuarry_VS1.21.1_net8_v3.5.1.zip
mod@TabletopGames-v3.0.2.zip
mod@VanillaVariants-RidingEquipment-v2.1.0.zip
mod@vsinstruments_quackpack_1.0.2.zip
mod@wolftaming_v4.1.4_petai_v4.0._.zip
mod@xinvtweaks_v1.8.1.zip
mod@xskills_v0.9.0-pre.2.zip
mod@zrustdrops-2.0.0.zip
mod@ArrowBreakPatch.zip
mod@bricklayers-3.1.4.zip
mod@exoskeletons_0.4.3.zip
mod@rustboundmagicxskillsfix.zip
mod@tailors_delight-2.1.2.zip
mod@wool-1.8.1.zip
mod@xSkillsGilded_1.3.5.zip
mod@xskillsnewclassesexp-fix.zip
mod@dressmakers-1.7.4.zip
themepack@betterbookshelfbacking_1.0.1.zip

 

 

 
Fenvar, Dec 3rd 2025 at 8:01 AM

Your a Wizard. I really appreciate the time you've taken to create this mod and (hopefully) the time you take to continue it. Thank you.

Zaldaryon , Dec 2nd 2025 at 5:49 PM

BraniyaKz should be fixed in 1.0.3

BraniyaKz, Dec 2nd 2025 at 4:28 PM (modified Dec 2nd 2025 at 4:29 PM)

Zaldaryon

On version 1.0.2, in Singleplayer, I keep getting this error in the startup log:

Error Report
2.12.2025 11:20:47 [Error] [tungsten] An exception was thrown when trying to start the mod:
2.12.2025 11:20:47 [Error] [tungsten] Exception: Entry point was not found.
at Vintagestory.API.Common.ICoreAPI.get_Logger()
at Tungsten.TungstenMod.StartServerSide_Patch0(TungstenMod this, ICoreServerAPI api)
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in VintagestoryLib\Common\API\ModLoader.cs:line 679
2.12.2025 11:20:47 [Error] Failed to start system Tungsten.TungstenMod
Yoldovahkriid, Nov 29th 2025 at 7:24 PM

This might be coincidence but since install of this mod on my server the server has indefinitly not responded 2 or 3 times in the last 24hrs which it never did before. More weirdly there hasn't been an error or warning in the console just nothing no new entries etc..
Perhaps someone knows whats going on?

 

Loginvvvvv, Nov 28th 2025 at 4:20 AM

I hope this helps with stutters I've been having

Zaldaryon , Nov 27th 2025 at 3:29 PM

Eurielle if that mod changes some vanilla behavior, yes, it might cause a crash. You can disable the only setting it affects, though. This mod here was made considering the vanilla mechanics per se.

 

Dagurmawth if you provide me the crash log against Rustbound Magic, I can try to fix it on Tungsten's end.

Eurielle, Nov 27th 2025 at 3:24 PM

According to a post on the Rustbound Magic mod it seems this mod and that one don't like each other. It appears to be related to Rustbound Magic's self-buffs but IDK exactly what the issue is as I haven't tested it myself. Just thought I'd give you the headsup on the present incompatibility though!

Zaldaryon , Nov 27th 2025 at 12:38 PM

EthelVril handbook is clientside only. For that you can use the OptiTime mod that I made.

EthelVril, Nov 27th 2025 at 12:24 PM

From my experience, the laggiest part of a modded playthrough is the handbook x.x

Zaldaryon , Nov 27th 2025 at 10:11 AM

BraniyaKz and prototype464 try version 1.0.1 and tell me if it's fixed pls, it should.

Zaldaryon , Nov 27th 2025 at 10:10 AM

WatermelonFrogy yes, I'm @zaldaryon on VS official discord.

WatermelonFrogy, Nov 27th 2025 at 10:02 AM

This is awesome! We might test this out on Age of Seraphs once we update to 1.21! We currently average 50-60 on weekdays and 60-80 on weekends, 100+ during major events. Do you have a discord we could contact you directly on if we come across any problems?

BraniyaKz, Nov 27th 2025 at 1:27 AM

Testing this on my singleplayer, and this exception keeps showing up in the server log:

Error Report
26.11.2025 19:43:39 [Error] [tungsten] An exception was thrown when trying to start the mod:
26.11.2025 19:43:39 [Error] [tungsten] Exception: Entry point was not found.
at Vintagestory.API.Common.ICoreAPI.get_Logger()
at Tungsten.TungstenMod.StartServerSide_Patch0(TungstenMod this, ICoreServerAPI api)
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in VintagestoryLib\Common\API\ModLoader.cs:line 679
26.11.2025 19:43:39 [Error] Failed to start system Tungsten.TungstenMod
prototype464, Nov 27th 2025 at 12:56 AM (modified Nov 27th 2025 at 1:17 AM)

Loaded into a world by mistake, left, then went to load into another world and it sh*t itself upon trying to load, lemme know if you need more logs

Edit: Update, we found out Immersive Lanterns was throwing an OutOfMemory error because there were a lot of lanterns, I'm unsure if that caused this issue here.

Crash Report
26.11.2025 19:54:02 [Error] Exception: Cannot access a disposed object.
Object name: 'System.Threading.ThreadLocal`1[[System.Collections.Generic.List`1[[System.Object, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
at System.Threading.ThreadLocal`1.GetValueSlow()
at Tungsten.SendPlayerEntityDeathsOptimizer.GetReusableList(IEnumerable`1 source)
at Vintagestory.Server.ServerSystemEntitySimulation.SendPlayerEntityDeaths_Patch0(ServerSystemEntitySimulation this)
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 854
26.11.2025 19:54:02 [Notification] All clients disconnected, pausing game calendar.
26.11.2025 19:54:02 [Error] Exception: Cannot access a disposed object.
Object name: 'System.Threading.ThreadLocal`1[[System.Collections.Generic.List`1[[System.Object, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
at System.Threading.ThreadLocal`1.GetValueSlow()
at Tungsten.SendPlayerEntityDeathsOptimizer.GetReusableList(IEnumerable`1 source)
at Vintagestory.Server.ServerSystemEntitySimulation.SendPlayerEntityDeaths_Patch0(ServerSystemEntitySimulation this)
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 854
26.11.2025 19:54:02 [Fatal] Caught unhandled exception in thread 'chunkdbthread'. Shutting down server.
26.11.2025 19:54:02 [Error] Exception: Cannot access a disposed object.
Object name: 'System.Threading.ThreadLocal`1[[System.Collections.Generic.List`1[[System.Int64, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
at System.Threading.ThreadLocal`1.GetValueSlow()
at Tungsten.ThreadLocalHelper.GetAndClear[T](ThreadLocal`1 threadLocal)
at Vintagestory.Server.ServerSystemSupplyChunks.moveRequestsToGeneratingQueue_Patch0(ServerSystemSupplyChunks this)
at Vintagestory.Server.ServerSystemSupplyChunks.OnSeparateThreadTick() in VintagestoryLib\Server\Systems\World\LoadThread\SupplyChunks.cs:line 454
at Vintagestory.Server.ServerThread.Update() in VintagestoryLib\Server\ServerThread.cs:line 125
at Vintagestory.Server.ServerThread.Process() in VintagestoryLib\Server\ServerThread.cs:line 55
26.11.2025 19:54:02 [Error] Exception: Cannot access a disposed object.
Object name: 'System.Threading.ThreadLocal`1[[System.Collections.Generic.List`1[[System.Object, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
at System.Threading.ThreadLocal`1.GetValueSlow()
at Tungsten.SendPlayerEntityDeathsOptimizer.GetReusableList(IEnumerable`1 source)
at Vintagestory.Server.ServerSystemEntitySimulation.SendPlayerEntityDeaths_Patch0(ServerSystemEntitySimulation this)
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 854
Zaldaryon , Nov 26th 2025 at 11:45 AM

Anthonyg1479, they're completely different mods, and you can use them together, yes, but the benefits of this mod is mainly for multiplayer servers (as in, for the server itself). 

Anthonyg1479, Nov 26th 2025 at 10:07 AM

Can i use this and your other mod OptiTime at the same time or is this just server side version of that mod?

Ciber, Nov 26th 2025 at 12:39 AM

Trying now! I'm eager to see if this can squish my constant GC pauses in SP (which occure even though I have 32gig ram)