From e86b1a8818cc363ee6b2f5f78248daaa373e5d43 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 21 Oct 2019 11:10:38 +0100 Subject: [PATCH] VST3: Don't add PluginDescription to results array if loadFrom() or initialize() fails --- .../format_types/juce_VST3PluginFormat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp index 14810fb59a..abbf582b8c 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp @@ -774,7 +774,8 @@ struct DescriptionFactory } } - result = performOnDescription (desc); + if (desc.uid != 0) + result = performOnDescription (desc); if (result.failed()) break;