I wrote a script a couple of months ago, based on the Batch Render GUI script, which allows the user to batch render multiple project files to multiple formats. The script can be found here
A problem has cropped up since version 4.0b was released. I now get the error "Error: Object reference not set to an instance of an object" when the script is run. I have found the line of code causing the problem, but am having trouble fixing it.
In the BatchRenderDialog function in the BatchRenderDialog class the line of code causing the problem is:
FillTemplateTree();
That is the call to the class member function that finds all of the templates and creates the tree.
Thank you in advance for the help.
Steven
A problem has cropped up since version 4.0b was released. I now get the error "Error: Object reference not set to an instance of an object" when the script is run. I have found the line of code causing the problem, but am having trouble fixing it.
In the BatchRenderDialog function in the BatchRenderDialog class the line of code causing the problem is:
FillTemplateTree();
That is the call to the class member function that finds all of the templates and creates the tree.
Thank you in advance for the help.
Steven