• 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.
VamObjectExplorer

Plugins + Scripts VamObjectExplorer

Download [<1 MB]

14mhz

Well-known member
Joined
Oct 23, 2024
Messages
252
Solutions
7
Reactions
1,885
14mhz submitted a new resource:

VamObjectExplorer - This plugin is used to explore/edit the structure of VaM's game objects.

※ Reporting bugs or issues will help me improve the plugin and help others.
VamObjectExplorer
● This plugin is used to explore/edit the structure of VaM's game objects.
● Either the Atom Plugin or the Session Plugin can be used whichever you prefer.
● This plugin features a tree-structured interface, offering a more intuitive and user-friendly environment.
● It offers the ability to view and easily modify...

Read more about this resource...
 
I get this error when I load and anytime I interact with the plugin (ie: click stuff)
Code:
!> [ERR] cannot find CustomUI name [InfoTree], maybe verify not called globalaccess() ...
!> [ERR] expandClickEvent : System.NullReferenceException: Object reference not set to an instance of an object
  at VamObjectExplorer.expandClickEvent (CustomUI14mhz.CustomTreeUI`1 treeui, CustomUI14mhz.TreeItem`1 item, System.String name, Boolean expand) [0x00000] in <filename unknown>:0
 
I get this error when I load and anytime I interact with the plugin (ie: click stuff)
Code:
!> [ERR] cannot find CustomUI name [InfoTree], maybe verify not called globalaccess() ...
!> [ERR] expandClickEvent : System.NullReferenceException: Object reference not set to an instance of an object
  at VamObjectExplorer.expandClickEvent (CustomUI14mhz.CustomTreeUI`1 treeui, CustomUI14mhz.TreeItem`1 item, System.String name, Boolean expand) [0x00000] in <filename unknown>:0
To resolve the bug, we need to be able to reproduce it—but unfortunately, the error doesn’t occur on my machine.
I suspect the issue might be related to machine speed: it seems to happen either when the system is too slow or too fast. In your case, perhaps the machine is so fast that the subsequent process starts before the previous one has completed.
Do you happen to have any hints? For example, does it occur under specific conditions?
※ If the error consistently occurs with every click rather than just once, that would indicate a different issue. However, the architecture is designed to prevent such behavior from happening repeatedly.
Thanks again for reporting this.
 
Last edited:
Hi, do you think you can Edit VaM Button Object using this plugin ?
Like replacing the Source code of the UISlider for something Custom ?
 
Hi, do you think you can Edit VaM Button Object using this plugin ?
Like replacing the Source code of the UISlider for something Custom ?
This plugin is mainly designed for exploration and understanding structure, not for editing.
For now, even if you make edits, they won't be permanently saved.
 
getting information [User Preferences - Navigation Panel]
to @EasyVam, Please refer to the code below.
To set values, use
toggle.isOn = true/false for toggles and
slider.value = value for sliders.
Snap4.jpg
 

Attachments

  • UserPrefNavigation.cs
    5.8 KB · Views: 0
This looks intriguing @14mhz - is possible, how would you go about testing to see if a plugin was causing a memory leak or problems? I have several I paid someone to make for me and anytime I use them vam becomes unstable after a while. Thanks!
 
This looks intriguing @14mhz - is possible, how would you go about testing to see if a plugin was causing a memory leak or problems? I have several I paid someone to make for me and anytime I use them vam becomes unstable after a while. Thanks!
1. Before loading the scene, open VamObjectExplorer, locate the SceneAtoms directory, and perform a Dump.
2. After loading is complete, start play on the scene—this is necessary for the plugin to function.
3. In VaM, go to the [File (Open/Save)] tab and click [New Empty Scene] to create a completely blank scene.
4. From here, access VamObjectExplorer again, locate the SceneAtoms folder, and execute a Dump operation.
5. Compare the two files.
6. In Unity, a memory leak typically refers to two situations:
- Objects that remain in memory even after a scene has been unloaded.
- Listeners such as event handlers that aren't properly removed and continue to hold references to other objects.
7. What VamObjectExplorer can detect falls under the first category: objects that remain in memory
※ Additionally, I once ran a test where I created 1,000 buttons at a time, each time repeating the process 100 times by user calling.
Each batch was created and closed properly, and there were no object leaks during the create–close cycle. However, I still observed a gradual slowdown over time.
Based on that experience, :rolleyes: I believe the performance degradation was not due to most memory leaks, but rather an internal issue within Unity itself.
 
Last edited:
Back
Top Bottom