When I open a toe file which has a cpp TOP with 2020.28110 and 2020.27390.
Splash shows, but progress freezes on 30%, then created CrashAutoSave.toe.
And I can’t open CrashAutoSave.toe. But it works well with 2020.25380.
Summary
I can open with 2020.25380.
I can’t open with 2020.28110 2020.27390.
The crash seems to be occurring in a beginGLCommands() call you are doing, crashing in our code. Are you able to share your C++ project so I can reproduce the issue here? You can email it to support@derivative.ca if you wish.
If not, can you tell me which callbacks you calling beginGLCommands() from?
Looks like this project is missing dependencies. Do you have those still to add/commit to the repo? The stuff in the GL include dir and l4z include file etc.
oh the repo has dependencies, it should build successfully with nothing.
and I’m using visual studio 2019(latest) I’ll attach vs property screenshot just in case
BTW, I’ve encountered the same problem here too
(C:\Program Files\Derivative\TouchDesigner.2020.28110\Samples\CPlusPlus\OpenGLTOP).
First of all, could you see OpenGLTOP example if the same problem occurs?
Seems to occur just by calling ‘context->beginGLCommands();’ & ‘context->endGLCommands();’
It may be possible these causes are the same.
Thanks for the sample and sorry for the delay in answering. It seems like there is a bug with using GL commands inside the constructor of a Custom Operator. For now if you do you initialization later on, that will avoid the crash. I’ll work on a solution for the next 2021.10000 series build we post though.