• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.
Anti-Stutter Patch

Plugins + Scripts Anti-Stutter Patch

Download [<1 MB]
Can this prevent the two second stutters that occur every five minutes when the heap size resets to a lower value, thanks to memory leaking plugins: like Subsurface Scattering Skin, Height Measure, etc. ?

Nevermind gonna try this first before asking.
What other plugins are like these? I would like to minimize the pauses.
 
This patch feels great, awesome!

But is there a shortcut to hide the "Native GC patcher 2.0" pop-up window totally? I have an OLED as a monitor, so that would be nice, thank you!
 
There are a lot of vars on the hub that have the Preload Morphs box checked when they don't need to. This aggravates the heap problem. Obviously, any var that has "morphs" in the name needs that, but there are a lot of random looks that have it when they don't need to. Unfortunately, there's no automated way to fix this. I went through a large number of vars unchecking the box in Package Manager User Preferences to reduce the number of morphs that get preloaded. There are also creators who repackage existing morphs for their own convenience, which makes the problem @grontz reported and the one with duplicate morphs worse.
 
Hello, thank you as always for providing such high-quality utilities.
I installed v3, but it doesn’t work. Pressing Ctrl+G produces no response.
All installation requirements have been met (I’m using the 12evo performance patch).
 
Hello, thank you as always for providing such high-quality utilities.
I installed v3, but it doesn’t work. Pressing Ctrl+G produces no response.
All installation requirements have been met (I’m using the 12evo performance patch).
Have you tried downloading version v2?
 
Have you tried downloading version v2?
I can confirm lblg's report, V3 does not display any UI elements. I don't know if the backend is still working (I can't test a scene right now, only had time to do a five minute check on the menu) but the frontend seems to be broken on V3. When I went back to V2, the UI window appeared again.
 
There is no essential difference between V2 and V3. If V3 cannot recognize correctly, V2 can still be used. Just don't set the limit too high.
hank you for your reply. Since I have a low‑end PC, your utility is extremely useful for me. I’m always grateful.
 
I installed BepInEx and the plugin, but I don't see the status window after loading a scene. Ctrl-F and G have no effect. I'm on the latest Vam, BepInEx is in the Vam root folder, and the plugin is in BepInEx/plugins. I'm on W11, and I have the Nvidia App installed. BepInEx log:

[Message: BepInEx] BepInEx 5.4.23.4 - VaM (12/7/2024 12:59:58 PM)
[Info : BepInEx] Running under Unity v2018.1.9.10931241
[Info : BepInEx] CLR runtime version: 2.0.50727.1433
[Info : BepInEx] Supports SRE: True
[Info : BepInEx] System platform: Bits64, Windows
[Message: BepInEx] Preloader started
[Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.23.4]
[Info : BepInEx] 1 patcher plugin loaded
[Warning: BepInEx] Tried to load duplicate assembly Assembly-CSharp.dll from Managed folder! Skipping...
[Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message: BepInEx] Preloader finished
[Warning: HarmonyX] AccessTools.Property: Could not find property for type UnityEngine.Application and name isBatchMode
[Message: BepInEx] Chainloader ready
[Message: BepInEx] Chainloader started
[Warning: BepInEx] Skipping type [NativeGCPatcher.GCPatcher] because its version is invalid.
[Info : BepInEx] 0 plugins to load
[Message: BepInEx] Chainloader startup complete
 
Going back to V2 fixed it for me.
Yeah, best to stay on that for now, V3 seems to be broken. Just a heads-up: if the memory limit slider is set above 20GB, it's best to decrease it to under 20GB to prevent VAM from crashing with a "too many heap sections" error.
 
What other plugins are like these? I would like to minimize the pauses.
Lots of great plugins have (usually mild) heap size growth issues, such as UIAssist, Audiomate and Orifice Dynamics. The latter recently mitigated this issue by using structs instead of arrays for caching (according to the update notes) but it still happens, because to a certain extent it's inevitable. It's more of a problem with VAM's panicky memory management. The heap size doesn't even have to be large for it to trigger; on complex scenes it can happen frequently for no clear reason (especially in VR). It's just too overzealous, which is terrible considering how bad the lag spikes are.

This patch is the first actual fix I've ever seen for this problem.
 
Thanks a lot. Scenes seem smoother now. Could you add a configuration key to hide UI? I have F1 assigned to hide VAM and var manager ui so I have clean screen.

Now it's time for a hero to optimize json processing and image loading...
 
Last edited:
is there still v2. available somewhere? GitHub or anywhere anywhere?
if somebody has it, please share!
 
Back
Top Bottom