Rendering a Sphere with a checkbox. When you activate the checkbox a “save” button appears and you can save the image via clicking on the save button.
The Problem
When I save the image in vvvvv with the ImageWriter, it works. As soon as I export and start the patch, the following error occurs and I don’t understand what I can do:
Object reference not set to an instance of an object.
I had this error with imagereader in the past but this time i am using png as file format.
Regarding the initial issue you posted, the culprit seems to to be that the patch only references VL.Stride.Runtime but not the top level package VL.Stride. We should find a way to improve the error message in that case.
@juliangrumer Your other exceptions may be due to a logic of the patch. You’re writing to the file on startup. Improve the patch logic, better rework it into a more compact form, packaged in Processes or Operations. Then it will be easier for you to do debug.
Hey yar and Elias,
thanks for your help.
I am really new in this field and just made a beginner course in vvvv.
The next days I will try to debug my script and optimize it.