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

MacGruber

Invaluable member
Developer
Featured Contributor
Messages
1,566
Reactions
3,047
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