I’m trying to figure out why a plugin (AAX) is crashing in Pro Tools when the UI is shown. We’re using the same graphics in this project as we use in other plugins, but it’s hitting an assertion when debugging:
auto cgImage = dynamic_cast<CoreGraphicsImage*> (image.getPixelData()); jassert (cgImage != nullptr); // if USE_COREGRAPHICS_RENDERING is set, the CoreGraphicsImage class should have been used.
Not sure what I’m doing wrong here, or different from our other projects. (Running in Xcode 10 under OS 10.15.)