Hi, new member here. I’m getting my feet wet with JUCE by studying some of the code examples provided. I’m stuck with this assertion error while debugging the MidiLoggerPluginDemo with the AudioPluginHost:
JUCE Assertion failure in juce_AudioSampleBuffer.h:520
which refers to this piece of code:
void setDataToReferTo (Type** dataToReferTo,
int newNumChannels,
int newStartSample,
int newNumSamples)
{
jassert (dataToReferTo != nullptr); <---- failed here
I haven’t changed the example code in any way. The plugin works fine unless it’s being debugged.
I’m running JUCE v6.1.4 and Xcode 12.4 on macOS Catalina.
Thanks