• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. 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.
Scene Load Logger for Creators

Plugins + Scripts Scene Load Logger for Creators

Download [0 MB]

Shadow Venom

Well-known member
Featured Contributor
Joined
Oct 10, 2022
Messages
242
Reactions
1,810
Shadow Venom submitted a new resource:

Scene Load Logger for Creators - Analyze scene loading process to find and fix the exact performance bottlenecks

What Does SceneLoadLogger Do?​


SceneLoadLogger is like a performance detective for your VAM scenes. It tracks how long your scene takes to load and zooms in on which objects (called Atoms, like characters, props, or plugins) are causing delays. Here’s what it offers:


  • Measures Scene Loading Time: Tells you how long your entire scene takes to load, from start to finish.
  • Tracks Objects in Order: Records the loading time for each Atom in the...

Read more about this resource...
 
A very useful plugin for everyone who makes scenes, definitely use it! Thank you very much!

PS/I noticed that there is an error when entering the stage! But everything else works!


!> Exception during SaveJSON: System.IO.DirectoryNotFoundException: Could not find a part of the path "X:\GAMES\[UNITY] VAM\Custom\SceneLogs\SceneLoadLog_2025-05-28_11-07-01.txt".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string)
at MVR.FileManagement.FileManager.OpenStreamWriter (System.String path) [0x00000] in <filename unknown>:0
at SuperController.SaveJSONInternal (SimpleJSON.JSONClass jc, System.String saveName) [0x00000] in <filename unknown>:0
 
Last edited:
Shadow Venom updated Scene Load Logger for Creators with a new update entry:

1.1 Update

SceneLoadLogger Update - v1.1

View attachment 492603
  • Customizable Slow Atom Threshold
    A new slider has been added to the UI, allowing users to define what qualifies as a "slow" atom during scene loading.
    The threshold is adjustable between 0.001s and 0.020s, with a default value of 0.005s.
    This enables precise tuning for performance analysis.
  • Safe Logging: Output Disabled by Default
    To prevent runtime errors due to missing directories, .txt log file...

Read the rest of this update entry...
 
A very useful plugin for everyone who makes scenes, definitely use it! Thank you very much!

PS/I noticed that there is an error when entering the stage! But everything else works!


!> Exception during SaveJSON: System.IO.DirectoryNotFoundException: Could not find a part of the path "X:\GAMES\[UNITY] VAM\Custom\SceneLogs\SceneLoadLog_2025-05-28_11-07-01.txt".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string)
at MVR.FileManagement.FileManager.OpenStreamWriter (System.String path) [0x00000] in <filename unknown>:0
at SuperController.SaveJSONInternal (SimpleJSON.JSONClass jc, System.String saveName) [0x00000] in <filename unknown>:0

Thank you very much for your feedback. This error occurs because the plugin attempts to write a detailed log report to the Custom/SceneLogs folder, which requires the user to manually create. When the folder doesn’t exist, the write operation fails and causes an error. I’ve updated the plugin, and the new version will no longer attempt to write by default. Instead, you can enable this feature in the plugin’s UI (if enabled, you’ll still need to manually create the target folder).

Most of the time, you probably don’t need the log writing function. The log in the VAM game already provides detailed records, and the plugin UI offers a summary. The txt writing is for particularly complex scenes, like those with dozens or hundreds of atoms, where the in-game log might get truncated.
 
Back
Top Bottom