Validator-issue

I just made a blnk instrument eith the VST3_Project_Generator, and as soon as I touch the audio-output buffer, there is a validator-issue while compiling.
in the ::process (Vst::ProcessData& data) I just add this to have access to the output buffers:
Vst::Sample32 * outL = data.outputs[0].channelBuffers32[0];
Vst::Sample32 * outR = data.outputs[0].channelBuffers32[1];
and then I have a build error:
Parameters Flush (no Buffer)]
Info: ===Parameters Flush (no Buffer) ====================================
/Users/marclingk/Documents/VST_SDK/vst3sdk/public.sdk/buildMarc/MyPlugin/build/build/MyPlugin.build/Debug/Script-2658E2676926BDAF5E0C6DE2.sh: line 13: 9157 Segmentation fault: 11 /Users/marclingk/Documents/VST_SDK/vst3sdk/public.sdk/buildMarc/MyPlugin/build/bin/Debug/validator /Users/marclingk/Documents/VST_SDK/vst3sdk/public.sdk/buildMarc/MyPlugin/build/VST3/Debug/MyPlugin.vst3
Command PhaseScriptExecution failed with a nonzero exit code
actually my workaround is to suppress the line with the validator, which isn’t a good idea I suppose.
What can I do?

In your process method you need to check if data.numSamples==0 , then the data.outputs value is a nullptr.

Thank you. This seems to work, as long as there are not too many calculations in the block.