• Hi Guest!

    This is a notice regarding recent upgrades to the Hub. Over the last month, we have added several new features to improve your experience.
    You can check out the details in our official announcement!

Fixed (1.20.0.6) Silent NullReferenceException when using WindowCamera (100% repro)

MacGruber

Invaluable member
Developer
Featured Contributor
Messages
1,571
Reactions
3,088
Points
143
Currently experimenting with some tools for recording video and noticed a NullReferenceException that is logged every frame when using the WindowCamera. Logging every frame is eating quite some performance, not to mention it kills your SSD eventually. An of course a NullReferenceException usually means there is something seriously wrong, essentially its a crash ;)

Repro steps:
  1. (Using VaM 1.19.2.2)
  2. Quit VaM
  3. Reset default scene to Meshed's default scene from Saves\scene\MeshedVR\default.json
  4. Launch VaM in desktop mode
  5. Enable WindowCamera atom (set "Camera On")
  6. Press M to switch to camera image (will be black as by default the camera points into nothing)
  7. Open %appdata%\..\LocalLow\MeshedVR\VaM\output_log.txt
  8. Notice there is a NullReferenceException logged every frame.

Callstack:
Code:
NullReferenceException: Object reference not set to an instance of an object
  at SuperController.Update () [0x00000] in <filename unknown>:0
 
Back
Top Bottom