Beta | VaM LeanCore

Plugins + Scripts Beta | VaM LeanCore

Download [<1 MB]

wanderer

Well-known member
Featured Contributor
Joined
Jun 14, 2022
Messages
115
Reactions
1,000
wanderer submitted a new resource:

Beta | VaM LeanCore - VaM Optimization For Morphs and Load Time !!

Personal Note​


I recently learned that @MonsterShinkai is no longer with us. Although I did not have the chance to interact with him much, I deeply admired his work. He was one of those creators whose every new release I looked forward to, and his passing feels like a personal loss. I only wish I had reached out while I still had the chance.

This release is dedicated to you, my friend, @MonsterShinkai. Rest in peace.

From now on, I...

Read more about this resource...
 
LeanCore version: 0.7.0
VaM package/VAR count: [Your VAR Count, e.g., 1500]
CacheBuilder Threads: 6 (also tested with 4)
Desktop or VR launcher: Desktop Mode (VaM (Desktop Mode).bat)
Was VaM Clear Cache used immediately before the problem?: Yes (Cleared Cache/ and BepInEx/cache/VaMLeanCore)
What scene or action triggered it?:
Loading an Atom Preset (Person preset/Appearance preset) triggers the following exception, resulting in broken character mesh/morph restoration:

!> Exception during Restore of geometry: System.NullReferenceException: Object reference not set to an instance of an object
at DAZCharacterSelector.SelectCharacterByName (System.String characterName, Boolean fromRestore) [0x00000] in <filename unknown>:0
at DAZCharacterSelector.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at MeshVR.PresetManager.Restore (SimpleJSON.JSONClass jc) [0x00000] in <filename unknown>:0

Does Enabled=false avoid the problem?: Yes. When Enabled=false, the preset loads normally without any NullReferenceException or mesh deformation.
Relevant BepInEx/LogOutput.log attached: Yes (See attached log file)
 
LeanCore version: 0.7.0
VaM package/VAR count: [Your VAR Count, e.g., 1500]
CacheBuilder Threads: 6 (also tested with 4)
Desktop or VR launcher: Desktop Mode (VaM (Desktop Mode).bat)
Was VaM Clear Cache used immediately before the problem?: Yes (Cleared Cache/ and BepInEx/cache/VaMLeanCore)
What scene or action triggered it?:
Loading an Atom Preset (Person preset/Appearance preset) triggers the following exception, resulting in broken character mesh/morph restoration:

!> Exception during Restore of geometry: System.NullReferenceException: Object reference not set to an instance of an object
at DAZCharacterSelector.SelectCharacterByName (System.String characterName, Boolean fromRestore) [0x00000] in <filename unknown>:0
at DAZCharacterSelector.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at MeshVR.PresetManager.Restore (SimpleJSON.JSONClass jc) [0x00000] in <filename unknown>:0

Does Enabled=false avoid the problem?: Yes. When Enabled=false, the preset loads normally without any NullReferenceException or mesh deformation.
Relevant BepInEx/LogOutput.log attached: Yes (See attached log file)Thanks for testing
Thanks for testing i will look into it. Is the exception all you got in the log file or its an ingame exception message?
 
About 9k vars. 75sec warm boot with and without leancore.
Made no difference for me. Maybe because I'm already running BrowserAssist with var offloading ?
Still, I appreaciate the effort to make VAM start faster :D
 
Thanks for testing i will look into it. Is the exception all you got in the log file or its an ingame exception message?
It was an in-game error message.
Even when I load an atom preset, it goes through the loading process but nothing changes, and when I load a clothing preset, the outfit glitches out into a spaghetti mess at atom coordinates (0,0,0) and flails around wildly.
 
About 9k vars. 75sec warm boot with and without leancore.
Made no difference for me. Maybe because I'm already running BrowserAssist with var offloading ?
Still, I appreaciate the effort to make VAM start faster :D
Ok if you do var offloading then there is noting to build the cache. So ya it would make no difference.
 
Ok if you do var offloading then there is noting to build the cache. So ya it would make no difference.
but like in theory leancore should make offloading obsolete and give it the same heap error resistance, right ? So no more feeding AddonPackages with 1k vars per boot if BrowserAssists var management should fail. That would be awesome.
 
Back
Top Bottom