I am using a plugin to launch a render on a separate thread. In my threads main function I use this to start the render:
const RENDERRESULT res = RenderDocument(doc, renderSettings, progHook, nullptr, bitmap, renderFlags, nullptr);
A handfuls of seconds after the render starts I am left with an EXC_BAD_ACCESS error. I think this means I am accessing something in memory I shouldn't but I don't know how to debug which thread or which variable is causing me issues.
I have attached a screenshot of my error.
Thanks for any help!