# AudioPluginHost fails to scan default test VST3 plugin

**URL:** <https://forum.juce.com/t/audiopluginhost-fails-to-scan-default-test-vst3-plugin/55244>\
**Category:** Audio Plugins\
**Created:** [March 4, 2023, 8:07pm UTC](https://forum.juce.com/t/audiopluginhost-fails-to-scan-default-test-vst3-plugin/55244 "2023-03-04T20:07:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Audiosastrous](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Audiosastrous](https://forum.juce.com/u/Audiosastrous)\
**Post date:** [March 4, 2023, 8:07pm UTC](https://forum.juce.com/t/audiopluginhost-fails-to-scan-default-test-vst3-plugin/55244/1 "2023-03-04T20:07:31Z")

</div>

Hi, I’m new here. I followed a tutorial to get debugging set up. I’ve compiled and run the AudioPluginHost and also compiled the default test plugin with no changes, but when scanning for new plugins (VST3) i get the message **JUCE Assertion failure in juce\_VST3PluginFormat.cpp:232** in Xcode and the AudioPluginHost App crashes/does not respond anymore.  
It also seems sometimes to be able to initially scan the default test plugin but it is deactivated (red). The Spitfire Audio - BBC Symphony Orchestra Plugin (VST3) is also deactivated.  
I’m using JUCE 7.0.5.

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [March 4, 2023, 8:31pm UTC](https://forum.juce.com/t/audiopluginhost-fails-to-scan-default-test-vst3-plugin/55244/2 "2023-03-04T20:31:34Z")

</div>

Have you tried scanning out-of-process rather than in-process?

---

<div class="post-metadata">

**Author:** ![Audiosastrous](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Audiosastrous](https://forum.juce.com/u/Audiosastrous)\
**Post date:** [March 4, 2023, 8:43pm UTC](https://forum.juce.com/t/audiopluginhost-fails-to-scan-default-test-vst3-plugin/55244/3 "2023-03-04T20:43:09Z")

</div>

When scanning out-of-process I don’t get the **JUCE Assertion failure** I mentioned but the before mentioned plugins also stay deactived.

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [March 4, 2023, 8:46pm UTC](https://forum.juce.com/t/audiopluginhost-fails-to-scan-default-test-vst3-plugin/55244/4 "2023-03-04T20:46:16Z")

</div>

To re-scan them you’ll need to remove them from the list (select them, then press backspace on the computer keyboard) before scanning again.

---

<div class="post-metadata">

**Author:** ![Audiosastrous](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Audiosastrous](https://forum.juce.com/u/Audiosastrous)\
**Post date:** [March 4, 2023, 8:55pm UTC](https://forum.juce.com/t/audiopluginhost-fails-to-scan-default-test-vst3-plugin/55244/5 "2023-03-04T20:55:19Z")

</div>

Ok, it seems to be working now. Thank you very much!  
What is the diffrence between in-process and out-of-process?

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [March 5, 2023, 2:13pm UTC](https://forum.juce.com/t/audiopluginhost-fails-to-scan-default-test-vst3-plugin/55244/6 "2023-03-05T14:13:02Z")

</div>

In-process means that the plugin scanner happens in the main AudioPluginHost program. It’s easier to debug (you can just attach to the AudioPluginHost straight away), but it loads plugins on a background thread, which is likely to fail in the case of VST3 plugins. Also, if any plugin crashes during scanning, the entire program will crash.

Out-of-process means that a separate copy of the AudioPluginHost is launched to handle the plugin scanning. This approach is much more robust, but slightly tricker to debug.
